Can anyone explain the error quoted below?
>> CalcMeasures
Not enough input arguments.
Error in CalcMeasures (line 3)
if size(Y,2) ~= 1

 Réponse acceptée

Steven Lord
Steven Lord le 20 Mar 2021

0 votes

Your CalcMeasures function requires you to call it with at least one input argument. You called it with zero input arguments. Because of this MATLAB doesn't know on which data it should calculate the measures.

2 commentaires

Chethana Unni P
Chethana Unni P le 20 Mar 2021
What does it mean by input arguments? Can you please explain with an example
y = rand(5, 10);
CalcMeasures(y)

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by