Standard deviation of columns of a table
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Voss
il 4 Apr 2022
Here's one way:
data = num2cell(randn(30,3),1);
montherrors = table(data{:})
stdev = std(montherrors{:,:},[],1)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!