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
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 12 Aug. 2015
You write F(T,z) = something, but the right hand side does not involve z ?
Walter Roberson
am 12 Aug. 2015
Please check your formula again, paying attention to exactly what expression is being summed.
Antworten (1)
Walter Roberson
am 12 Aug. 2015
With the expression that you provided:
T=0:2500:10000;
sT = sin(T);
F = sign(sT) * infinity;
plot(T, F);
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!