필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Any anybody please give the the code in MATLAB for below mentioned question?please .Urgent

조회 수: 1 (최근 30일)
nihal
nihal 2013년 11월 17일
마감: Walter Roberson 2013년 11월 21일
Plot the sum of complex sinusoidal over the time period -10 secs<t<10 secs and
x(t)=1/20 Σ(from -15 to 15) sinc(k/20) e^j*200*π*k*t

답변 (1개)

Image Analyst
Image Analyst 2013년 11월 17일
What is the step in time? 0.05 seconds? Maybe pick on that will let you have about a thousand points over the -10 to +10 period so it can be plotted efficiently on your screen without having to calculate too many points that you won't even see once they're plotted, like:
t = linspace(-10, 10, 1000);
k = -15:15; % Step size of 1.
Then, I'm sure you know that e is done by the exp() function, and the summing is done by the sum() function (assuming you don't blow it away with your won variable called sum which all too many people do). And I'm sure you know that sinc(t) = sin(t) ./ t. So you're all set to make a stab at the equation:
x = (1/20) * sum(...............

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by