How can i discretize a signal within simulink?

50 ビュー (過去 30 日間)
Mohab Anwar
Mohab Anwar 2020 年 2 月 8 日
回答済み: Les Beckham 2020 年 2 月 9 日
I have a signal in simulink (X) that i wish to discretize it and get X(k) and X(k+1) so i can work with them later, within simulink. How is that possible?

回答 (2 件)

Walter Roberson
Walter Roberson 2020 年 2 月 9 日

Les Beckham
Les Beckham 2020 年 2 月 9 日
Look at the ZOH (https://www.mathworks.com/help/simulink/slref/zeroorderhold.html) and Unit Delay (https://www.mathworks.com/help/simulink/slref/unitdelay.html) blocks. These are for sampling signals at a specific sampling rate (specific time intervals) and introducing specific time delays (multiples of the sampling rate).
The quantizer block is for forcing the output to only have specific values (with a specific resolution).
In other words, ZOH and Unit Delay operate on the 'x' (time) axis of the signal, while Quantizer operates on the 'y' (signal output) axis of the signal.

カテゴリ

Help Center および File ExchangeSources についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by