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

1 回表示 (過去 30 日間)
Zangdaarr
Zangdaarr 2015 年 2 月 1 日
回答済み: Sebastian Castro 2015 年 2 月 4 日
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

回答 (1 件)

Sebastian Castro
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

カテゴリ

Help Center および File ExchangeSources についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by