MATLAB Answers

Not enough input arguments

2 views (last 30 days)
Sarah Smith
Sarah Smith on 17 Jun 2019
Edited: Sarah Smith on 18 Jun 2019
What does not enugh input arguments mean when you run a code?

  1 Comment

Star Strider
Star Strider on 17 Jun 2019
What line throws the error?

Sign in to comment.

Answers (1)

John D'Errico
John D'Errico on 17 Jun 2019
What is the purpose of that line? Lets see...
help square
'square' requires Signal Processing Toolbox.
So, assuming that you have the SP toolbox, the error message says that you are not calling square properly, since it is apparently a function that requires arguments.
Or, perhaps you wrote something called square of your own. We don't know what was your intent on that line, merely that you nee to use it properly.


Sign in to comment.