How do I plot it? by hand or in matlab? if it can be done by both the how to do?

조회 수: 1 (최근 30일)
x(t)=cos(2π30t)+cos(2π70t+π) is sampled at 100 SAMPLE SECOND.
(a) Show algebraically (by substituting t= n/100 ) that the sampled signal is 0!
(b) Plot the spectrum of the sampled signal. Show all of the components cancel.
  댓글 수: 6
Walter Roberson
Walter Roberson 2013년 1월 13일
Interesting, I didn't know that identity.
Roger Stafford
Roger Stafford 2013년 1월 13일
It's easy to prove using the two formulas for the cosine of the sum and the difference between two angles:
cos(A) = cos((A+B)/2+(A-B)/2) = cos((A+B)/2)*cos((A-B)/2)) - sin((A+B)/2)*sin((A-B)/2))
cos(B) = cos((A+B)/2-(A-B)/2) = cos((A+B)/2)*cos((A-B)/2)) + sin((A+B)/2)*sin((A-B)/2))
Adding these gives:
cos(A) + cos(B) = 2*cos((A+B)/2)*cos((A-B)/2))

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

답변 (1개)

Walter Roberson
Walter Roberson 2013년 1월 13일
편집: Walter Roberson 2013년 1월 13일
Hint:
plot(t, x(t))

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by