No, there is not an obvious way to use Deval with Simulink output. However, you can use "Configuration Parameters"-->"Data Import/Export" to do the similar things that you can do with Deval. For instance, the "refine factor" allows a smoother output without reducing the step size or restricting the solver step size. Polynomial interpolation is used to interpolate in between time steps. The polynomial interpolation has the same order of accuracy as the solver. You can also request output at specific times with "produce additional output" or "Produce specificied output only" as shown below.
Using Deval with Simulink Output
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jason Nicholson
le 12 Mai 2015
Modifié(e) : Jason Nicholson
le 21 Mar 2018
Is there a way to use deval with the output from simulink. deval works fine with a solution structure from the ODE integrators. However, I am looking for something similar that relates to simulink. Thoughts?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Ordinary Differential Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!