MATLAB Answers

Quantizing and plot quantised signal

10 views (last 30 days)
Gafi Wasswa
Gafi Wasswa on 20 Nov 2020
Answered: Sindhu Karri on 25 Nov 2020
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);

Answers (1)

Sindhu Karri
Sindhu Karri on 25 Nov 2020
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!