How to work around mex-ing tsmovavg

2 次查看(过去 30 天)
Evan
Evan 2013-1-29
Hello
Since you can't mex (coder) a function with the tsmovavg inside, what's the exact workaround using explicit, or perhaps another way?
Thank you

回答(1 个)

Sean de Wolski
Sean de Wolski 2013-1-29
One thing you may want to consider is using conv() or filter() instead. With the right kernel these will give you a moving average as well.

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by