How to remove the mean from a data

24 ビュー (過去 30 日間)
Xuefei Sun
Xuefei Sun 2021 年 2 月 23 日
回答済み: Mathieu NOE 2021 年 2 月 24 日
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 件のコメント
Image Analyst
Image Analyst 2021 年 2 月 23 日
@Mathieu NOE Please move your answer down to the Answer section below.
Mathieu NOE
Mathieu NOE 2021 年 2 月 24 日
will do... tx

サインインしてコメントする。

採用された回答

Mathieu NOE
Mathieu NOE 2021 年 2 月 24 日
hello
you can simply do
a = a - mean(a);
NB : you can also use the detrend function

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by