Standard deviation of columns of a table
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Wietze Zijpp
el 4 de Abr. de 2022
Respondida: Voss
el 4 de Abr. de 2022
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 comentarios
Respuesta aceptada
Voss
el 4 de Abr. de 2022
Here's one way:
data = num2cell(randn(30,3),1);
montherrors = table(data{:})
stdev = std(montherrors{:,:},[],1)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!