필터 지우기
필터 지우기

time shifting of Discrete Signals

조회 수: 41 (최근 30일)
Miza
Miza 2011년 2월 23일
답변: Sk Group 2021년 10월 27일
I have the following matrix
x=[2 3 5 4 6 4];
with index at 5 i-e n=0 at value 5.
n is sampling scale value (-----,3,-2,-1,0,1,2,3----)
I have to plot this signal x(n) on time axis n,
then I have to do the following operations,
x[-n],
x[-n+4]
x[-n-4]
x[n-4]
x[n].u[n-2]
x[n].impulse[n+2]
x[n].impulse[n-2]

채택된 답변

Saneem Ahmed
Saneem Ahmed 2011년 2월 23일
to plot discrete signal it is always better to use stem()
and for the first question you can use ,for x[n]
n=-2:3;
stem(n,x);
for x[-n];
n=-n;
stem(n,x);
similarly you can do till x[n-4];
  댓글 수: 1
Amir Omidfar
Amir Omidfar 2018년 2월 14일
that's awesome, thanks man

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Sk Group
Sk Group 2021년 10월 27일

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by