MATLAB Answers


Not enough input arguments

Asked by Sarah Smith on 17 Jun 2019
Latest activity Edited by Sarah Smith on 18 Jun 2019
What does not enugh input arguments mean when you run a code?

  1 Comment

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

Sign in to comment.

1 Answer

John D'Errico
Answer by 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.