Not enough input arguments?

,jwh

1 Comment

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

Answers (2)

Roger Stafford
Roger Stafford on 9 Dec 2013
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 Comments

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)

This question is closed.

Asked:

on 9 Dec 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!