Simulate with varying parameter and getting a 3-D representation of it
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Sebastian Castro
2015-2-4
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!