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);

Réponses (1)

Sindhu Karri
Sindhu Karri le 25 Nov 2020

0 votes

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

Catégories

En savoir plus sur Signal Processing Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by