Why zero-padding not visualized in this signal?

조회 수: 5 (최근 30일)
Ezz El-din Abdullah
Ezz El-din Abdullah 2017년 7월 28일
답변: Ezz El-din Abdullah 2017년 7월 28일
Attached the image produced by the simple code below:
t = -10:.1:10-.1;
tz = [zeros(1,50) t zeros(1,50)];
figure
plot(tz,cos(2*pi*tz))
I'd like to know what I can do to edit this way of zero-padding.

채택된 답변

Ezz El-din Abdullah
Ezz El-din Abdullah 2017년 7월 28일
Thank you. I have realized that I should zero-pad the y-axis not the x-axis.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by