Standard deviation of columns of a table
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Suppose I have a 30x3 table.
Now I would like to find the standard deviation of each column
I tried
stdev= std(montherrors(:,1))
But that does not work unfortunately
0 Kommentare
Akzeptierte Antwort
Voss
am 4 Apr. 2022
Here's one way:
data = num2cell(randn(30,3),1);
montherrors = table(data{:})
stdev = std(montherrors{:,:},[],1)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!