필터 지우기
필터 지우기

Synthesizing signal given expression

조회 수: 2 (최근 30일)
Jonathan George
Jonathan George 2022년 4월 30일
댓글: Jonathan George 2022년 4월 30일
Would would one go about synthesizing a discrete representation of a signal given by the expression x(t)=9cos(421t + 1.99) for 0<=t<=2 using a sampling rate of 874Hz with the first sample located at t=0?

채택된 답변

Walter Roberson
Walter Roberson 2022년 4월 30일
First create a vector of times in t. Then
x = 9 * cos(421*t + 1.99);
stem(t, x)
  댓글 수: 3
Walter Roberson
Walter Roberson 2022년 4월 30일
The times in the vector are (1 / sampling rate) seconds apart.
But sometimes it is easier to figure out how many total samples you are dealing with, generate integers 0 to one less than that many, and then divide those integers by the sampling rate. (0:5)/874 for example
Jonathan George
Jonathan George 2022년 4월 30일
Oh, I see. Thank you!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Measurements and Feature Extraction에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by