how to generate waveform graph?
7 ビュー (過去 30 日間)
古いコメントを表示
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..
0 件のコメント
採用された回答
the cyclist
2014 年 4 月 21 日
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)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Waveform Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!