Info

この質問は閉じられています。 編集または回答するには再度開いてください。

can calculate mean but not std

1 回表示 (過去 30 日間)
alpedhuez
alpedhuez 2020 年 8 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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.

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 8 月 13 日
You accidentally created a variable named std

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by