About Downsample in simulink without using rate transition block
이전 댓글 표시
Hello,
I want to use simulink to downsample a signal. When I use the downsample factor 3, I expect to have [1,4,7,10,……], however in the model, it always give me the interpolate values in between the time series data. [1,1,1,4,4,4,7,7,7,10,……] Could you please advise?
Actually, my data is sampled per 0.5ms, and then I need to get the mean value of each 200 data or every 100ms (Not moving mehtod. similar like method one in attched pic). And then, I need to have moving average (this is moving averrage as shown method 2 in the pic) for each 15 consecutive mean values gotten from last step. Rate transition block can not be used since the whole model is used for a controller with a function call. Do you have other suggestions?
Thanks

답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!