Not enough input arguments

1 view (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?

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.

Community Treasure Hunt

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

Start Hunting!