Quantizing and plot quantised signal

Hi,
Given Ts= I/1000
How can i quantized this sampled discret time signal and plot it?
n=0:1:99;
x=0.3*cos(2*pi*100*n*Ts) + 0.3*cos(2*pi*300*n*Ts) + 0.2*cos(2*pi*700*n*Ts);

回答(1 个)

Hii,
You can use 'quantiz' function for quantisation of a signal.
Refer to below link for more information

类别

帮助中心File Exchange 中查找有关 Signal Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by