Info

此问题已关闭。 请重新打开它进行编辑或回答。

1D wave equation

3 次查看(过去 30 天)
Bijaya
Bijaya 2023-10-16
关闭: John D'Errico 2023-10-16
Solve the 1-dimensional wave equation in a fixed length from 0 to L = 1 [L] at the speed of 1 [c] using 200 segments, and initialize two initial waves on the two ends of the string: the left side's wave length is 0.15 [L] and has 1 wave length, and the right side's wave length is 0.25 [L] and has 2 wave lengths. Run the code for 10 [t]. Give me the matlab code for (1) at t=0, and (2) at t=10 [t].
  1 个评论
Torsten
Torsten 2023-10-16
The forum won't do the homework for you. Make an attempt, and if you have a specific question concerning your code, we might be able to help you.
Otherwise, google "MATLAB & 1d wave equation". I'm convinced you will get dozens of hits.

回答(0 个)

此问题已关闭。

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by