Not enough input arguments?

,jwh

1 个评论

Show the error complete text in context with the command the caused it.

回答(2 个)

Roger Stafford
Roger Stafford 2013-12-9

1 个投票

You have used the name 'length' for one of your variables, but that is also the name of one of matlab's functions. Where it complains about not enough inputs I suspect it reverts back to thinking about 'length' as a matlab function which does in fact require input arguments. Use some other name for your variable and see if the problem goes away.

2 个评论

beta function only accept two input arguments while you are passing it thress input arguments thats the reason for this error. See more about beta function in the following link:
At the MATLAB command line, command
dworldD(0.6, 1.8)

此问题已关闭。

提问:

2013-12-9

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by