How to storage many results to plot them

3 ビュー (過去 30 日間)
Suleyman Kucuksahin
Suleyman Kucuksahin 2022 年 4 月 1 日
回答済み: Esha Chakraborty 2022 年 4 月 5 日
Hello. I'm working on modelling a condenser with simulink and ı have to change some parameters with minimum 4 or 5 values. While matlab solving them with various values for some parameters ı want it also storage it and then plot them. If i add if and else it will be so much job for me so ı want to make it easier.

回答 (1 件)

Esha Chakraborty
Esha Chakraborty 2022 年 4 月 5 日
Hi Suleyman,
I understand that you want to store multiple values in a single variable and plot them all together.
You can use he method of indexing to store mutiple multiple values in a single variable and plot them all together. You can refer to the following example which has answer to a similar case:
If you want to plot multiple such variables that contain more than one value stored in them, in one single graph, then you can use 'hold' command to do the same. You can find more details to the 'hold' command here.

カテゴリ

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

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by