Solving differential equation ODE45
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I have two matrices, with just numeric values of velocities in x and y direction as its entries, stored separately. To find all positions I'll have to integrate the velocity values w.r.t time (dx = u*dt). How do I solve this using ode45 only? Because I have a matrix and not a function to give into the argument for ode45
Thanks!
2 Commenti
James Tursa
il 28 Apr 2020
Can you give more details about your problem? E.g., what are the exact sizes of your variables and what exactly is in them? Sounds like you want some sampled data integrated, and maybe the trapz( ) function is more appropriate for you.
Risposte (0)
Vedere anche
Categorie
Scopri di più su Ordinary Differential Equations in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!