Effacer les filtres
Effacer les filtres

Simulate with varying parameter and getting a 3-D representation of it

4 vues (au cours des 30 derniers jours)
Zangdaarr
Zangdaarr le 1 Fév 2015
Hi,
I want to simulate a model several times by making two parameter varying with a 0.1 pace. Then I want to plot the results in a 3D representation.
My problem is that I am using a continuous integration algorithm and the structure outputted by the model has a size that vary depending of the simulation. So I cannot concatenate the multiple matrix in order to request a surf.
How would you proceed for that kind of case ? Changing for a discrete algorithm is not an option.
Thanks

Réponses (1)

Sebastian Castro
Sebastian Castro le 4 Fév 2015
If you open the model's configuration parameters, and go to the Data Import/Export pane, there is a set of options called Output Times.
If you choose the Produce specified output only option, you can then enter your own time vector. This will ensure that all logged data at the end of the simulation has data points only at those times.
- Sebastian

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by