How to work around mex-ing tsmovavg

1 回表示 (過去 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 Center および File ExchangeMATLAB Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by