Info

This question is closed. Reopen it to edit or answer.

can calculate mean but not std

1 view (last 30 days)
alpedhuez
alpedhuez on 13 Aug 2020
Closed: MATLAB Answer Bot on 20 Aug 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.

Answers (1)

Walter Roberson
Walter Roberson on 13 Aug 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!