Simulate with varying parameter and getting a 3-D representation of it
1 view (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Sebastian Castro
on 4 Feb 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
0 Comments
See Also
Categories
Find more on Sources in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!