1D wave equation

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개)

이 질문은 마감되었습니다.

제품

태그

질문:

2023년 10월 16일

마감:

2023년 10월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by