How to solve second order wave equation with ode45 tool?
2 views (last 30 days)
Show older comments
Hi everyone,
I am an aerospace engineering student who is approaching to the numerical analysis exam.
I have to solve the second-order wave equation with ode45 tool.
So, I have this prolem
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/226581/image.png)
I approached this way
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/226582/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/226583/image.png)
with the following IC and BC
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/226584/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/226585/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/226586/image.png)
So I have something like this
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/226587/image.png)
where
is a vector and A is a block matrix just like this one ![matrix.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/226589/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/226588/image.png)
![matrix.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/226589/image.png)
So, I have to solve the (1.1) with ode45 but I have no idea of how to get started.
Any suggestions?
Thanks
2 Comments
Answers (0)
See Also
Categories
Find more on Boundary Conditions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!