How to solve second order wave equation with ode45 tool?
1 次查看(过去 30 天)
显示 更早的评论
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
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Boundary Conditions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!