Info

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

a boundary value problem

2 次查看(过去 30 天)
Zhixing Wang
Zhixing Wang 2019-5-22
关闭: MATLAB Answer Bot 2021-8-20
I get the code like this. this is a code trying to solve a boundary value problem. without changing the parameter inside fdode() how can I fix this to solve a general boundary value problem.
WeChat Image_20190522003451.png
here is the problem error
WeChat Image_20190522003751.png

回答(1 个)

Alex Mcaulley
Alex Mcaulley 2019-5-22
Indexing in Matlab starts in 1, then:
f(:,0)
is not a valid indexing. It should be:
f(:,1)

此问题已关闭。

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by