How to work around mex-ing tsmovavg

2 views (last 30 days)
Evan
Evan on 29 Jan 2013
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

Answers (1)

Sean de Wolski
Sean de Wolski on 29 Jan 2013
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.

Community Treasure Hunt

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

Start Hunting!