Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

a boundary value problem

2 vues (au cours des 30 derniers jours)
Zhixing Wang
Zhixing Wang le 22 Mai 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (1)

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

Cette question est clôturée.

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by