Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

can calculate mean but not std

1 vue (au cours des 30 derniers jours)
alpedhuez
alpedhuez le 13 Août 2020
Clôturé : MATLAB Answer Bot le 20 Août 2021
I have a vector A. I can
myavg=mean(A)
myavg=0,3
but
stDev=std(A)
will give
"Array indices must be postiive integers or logical values"
Please advise.

Réponses (1)

Walter Roberson
Walter Roberson le 13 Août 2020
You accidentally created a variable named std

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by