How can do I write a program to plot a graph between the fluctuation and time . The output graph should be a sine wave aswell
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
T=0:2500:10000;
F(T,z)=summation n=0 to infinty .*(100./factorial(n)).*(1-cos(10.*T).^2)+(sin(10.*T));
plot(T,F);
댓글 수: 2
Walter Roberson
2015년 8월 12일
You write F(T,z) = something, but the right hand side does not involve z ?
Walter Roberson
2015년 8월 12일
Please check your formula again, paying attention to exactly what expression is being summed.
답변 (1개)
Walter Roberson
2015년 8월 12일
With the expression that you provided:
T=0:2500:10000;
sT = sin(T);
F = sign(sT) * infinity;
plot(T, F);
댓글 수: 0
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!