How to remove the mean from a data
24 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Xuefei Sun
am 23 Feb. 2021
Beantwortet: Mathieu NOE
am 24 Feb. 2021
I have 90000 speed data, and I want to make each one minus the mean, how to get that?
a=speed;
aver=mean(a);
then what's the next?
4 Kommentare
Image Analyst
am 23 Feb. 2021
@Mathieu NOE Please move your answer down to the Answer section below.
Akzeptierte Antwort
Mathieu NOE
am 24 Feb. 2021
hello
you can simply do
a = a - mean(a);
NB : you can also use the detrend function
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Line Plots 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!