MuPAD Differential equation solver
Afficher commentaires plus anciens
I tried following the directions from:
on pg 8-12, but for some reason i'm getting an error with my syntax. I think it doesnt like how i'm writing apostrophe when i write y'(x).
Someone give me some ideas on how to make it work?
Thank you!
Réponse acceptée
Plus de réponses (1)
Billy
le 5 Mai 2011
2 things:
- Be very careful to enter y(x) (never just plain y).
- In the MuPad statement you included with your comment, you need a colon:
diffequation = ode(y'(x)-y(x)^2,y(x))
Should be:
diffequation := ode(y'(x)-y(x)^2,y(x))
instead
You can then
solve( diffequation )
Catégories
En savoir plus sur Common Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!