How can I use a function created by dfittool?

I created a function for a pdf and normal fit on the dfittool, however, I am not able to call it from my code.
this is the function header:
function pd1 = createFit(LT_k)
and this is how I am calling it
x = createFit(LT_k)
what am I doing wrong?

1 个评论

What happens when you call it? Do you receive an error or a warning (and if so, what is the FULL text of the error or warning message?) Does it give you a different result than you expect?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息

提问:

2015-9-18

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by