Is there a way to detrend an output of integrator block in simulink?

1 次查看(过去 30 天)
I understand there is a simulink block detrend, but it requires a vector to operate upon.
And what we are dealing with are 1x1 values in real time, so detrending this simply returns 0.
Detrending the same variable in matlab using function "detrend" works fine, since it then becomes an offline data processing.
Is there a way to do it online? I was thinking if something on the lines of moving average block could be implemented?

回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by