How to remove the mean from a data

26 次查看(过去 30 天)
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
hello
you can simply do
a = a - mean(a);
NB : you can also use the detrend function

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by