How to implement 'Medfilt1' function into Simulink
6 ビュー (過去 30 日間)
unfortunatelly I'm not finding the equivalent Simulink block of 'Medfilt1' function implemented in Matlab(R2010a).
Have you any suggestion to solve this problem?
I heard the possibility to use S-function in order to get an embedded Matlab function into Simulink, also if I don't know how I can do that.
Any advice is well accepted.
Thanks in advance.
Ryan 2012 年 6 月 29 日
If you have the Video and Image Processing Blockset, use the 2D median filter and change the "Neighborhood size" to 1xN or Nx1 (depending on the format of the 1D vector you're feeding in).