descriptive statistics in one line of code
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Arturo Jr. Ongkeko
am 12 Dez. 2020
Beantwortet: KSSV
am 12 Dez. 2020
Hi,
Is there a way to write these in one line of code?
mu_age=mean(age)
mn_age=min(age)
mx_age=max(age)
sigma_age=std(age)
0 Kommentare
Akzeptierte Antwort
KSSV
am 12 Dez. 2020
A = rand(1,10) ;
v = [min(A), max(A), mean(A), std(A)] ;
v(1) % min
v(2) % max
v(3) % mean
v(4) % std
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Descriptive Statistics and Visualization 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!