Difference between decimation and sample time
29 次查看(过去 30 天)
显示 更早的评论
Hi all,
What's the difference between decimation and sample time in the scope of Simulink? And how do I determine which option to use under what circumstance?
Thanks edwin.
0 个评论
采纳的回答
Guy Rouleau
2012-1-25
Decimation: The scope will show only 1 point every X time steps. Whatever the rate of the input signal, with a decimation of 5, the scope will show you 1 point every 5 time steps.
Sample: You want a fixed rate. one point every 0.001sec or 1 point every 0.2 sec. In that case, even if the solver would not need to take a step at that time, it will take one to generate that point.
As you can guess, the difference is especially important if you use a variable sample time solver.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multirate Signal Processing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!