Not enough input arguments

What does not enugh input arguments mean when you run a code?

Answers (1)

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.

Asked:

on 17 Jun 2019

Edited:

on 18 Jun 2019

Community Treasure Hunt

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

Start Hunting!