필터 지우기
필터 지우기

Info

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

solve the following series on Matlab :)

조회 수: 1 (최근 30일)
Khaled
Khaled 2012년 10월 17일
Hi all,
I want program that do the following:
x(t) = 0.5+2\n *(cos -1\3*cos 3t +1\5 cos 5 t - 1\7 * cos 7t)
1. the program must give the first tow terms . 2. the program must plot the first five terms. 3. t value between 10 and -10
My Email address : khm_ccc@yahoo.com
Thank you :) Khaled
  댓글 수: 1
John D'Errico
John D'Errico 2012년 10월 17일
But really, should you do your own homework?

답변 (1개)

venkat vasu
venkat vasu 2012년 10월 17일
Hi...
This code may help you and i took n=5;
%x(t) = 0.5+2\n (cos -1\3*cos 3t +1\5 cos 5 t - 1\7 * cos 7t); t=-10:10; n=5; for i=1:length(t) x= 0.5+(2\n); x1=cos(-1\3)(cos(3*t(i))); x2=(1\5)*(cos(5*t(i))); x3=((1\7)*cos(7*t(i))); xf(i)=x*x1+x2-x3; end
  댓글 수: 1
José-Luis
José-Luis 2012년 10월 17일
편집: José-Luis 2012년 10월 17일
Please don't answer homework questions directly.

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by