필터 지우기
필터 지우기

Synthesising a different kind of discrete signal

조회 수: 1 (최근 30일)
Jonathan George
Jonathan George 2022년 3월 26일
답변: Walter Roberson 2022년 3월 26일
How would you go about synthesising a discrete signal given by the expression x[n]=9cos(1.7nT+3.74) for 0<=n<=1654, when the sampling period is 0.544? The manner of signal is much different from my last question.
Thank you in advance.
  댓글 수: 2
Walter Roberson
Walter Roberson 2022년 3월 26일
What is T?
The expression appears to be like π/2 nT + π + 0.6
Jonathan George
Jonathan George 2022년 3월 26일
T is the sampling period, 0.544.

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

채택된 답변

Walter Roberson
Walter Roberson 2022년 3월 26일
You would vectorize. For example,
format long g
t = 1 : 10
t = 1×10
1 2 3 4 5 6 7 8 9 10
y = exp(-t/sqrt(7)+sqrt(5))
y = 1×10
6.41156572830059 4.39355648112345 3.01070586668356 2.06310078284575 1.41374980773773 0.968778905760277 0.663860439173399 0.454913582530617 0.311731736610963 0.21361568293896
stairs(t, y)

추가 답변 (0개)

카테고리

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by