how to generate waveform graph?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
sing lai
am 21 Apr. 2014
Kommentiert: sing lai
am 22 Apr. 2014
Can anyone help me generate code to produce this waveform graph? This is wave equation that using finite difference method. Thank you very much for helping..
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161422/image.png)
0 Kommentare
Akzeptierte Antwort
the cyclist
am 21 Apr. 2014
Here is a simple script that will plot the function sin(L*x). Perhaps you can adapt it to plot your function u(x,t):
L = 0.5;
x = 0 : 0.1 : 60;
u = sin(L*x);
figure
plot(x,u)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Waveform Generation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!