Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

can calculate mean but not std

1 visualizzazione (ultimi 30 giorni)
alpedhuez
alpedhuez il 13 Ago 2020
Chiuso: MATLAB Answer Bot il 20 Ago 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.

Risposte (1)

Walter Roberson
Walter Roberson il 13 Ago 2020
You accidentally created a variable named std

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by