필터 지우기
필터 지우기

stairs function

조회 수: 4 (최근 30일)
eli
eli 2012년 4월 10일
Hello,
I want quantize a sine signal to 10 and 4 levels of quantization. I want to use 'stairs', but I find it quite confusing to define it correctly.
this is the code so far:
Fm = 1000;
t = 0:1/10e4:10/Fm;
f=sin(2*pi*Fm.*t);
stairs(t,f);
Best Regards

답변 (1개)

RNTL
RNTL 2012년 4월 12일
i think you should try quantiz.

카테고리

Help CenterFile Exchange에서 Quantizers에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by