Quantizing and plot quantised signal

4 次查看(过去 30 天)
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 个)

Sindhu Karri
Sindhu Karri 2020-11-25
Hii,
You can use 'quantiz' function for quantisation of a signal.
Refer to below link for more information

Community Treasure Hunt

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

Start Hunting!

Translated by