plotting a graph for a multi-junction solar cell model

4 ビュー (過去 30 日間)
RODNEY ARERI
RODNEY ARERI 2023 年 4 月 5 日
コメント済み: RODNEY ARERI 2023 年 4 月 5 日
after simulating the model structured in the simulink, the values i recieved in the work space are of double array of 20*1000, i tried to plot my graph but the figure produced is blank. how can i solve this?
  5 件のコメント
Sam Chak
Sam Chak 2023 年 4 月 5 日
Hi, voltage and P_out are arrays. Something as shown below.
Do you want to extract the data from the voltage array?
x = rand(2, 5)
x = 2×5
0.5115 0.1806 0.2568 0.0824 0.6734 0.1379 0.8130 0.6245 0.4658 0.6719
y = rand(2, 5)
y = 2×5
0.0301 0.2538 0.3374 0.7875 0.5353 0.1200 0.5300 0.6860 0.5696 0.2801
plot(x, y)
RODNEY ARERI
RODNEY ARERI 2023 年 4 月 5 日
thank you for the idea, let me try this immediately

サインインしてコメントする。

回答 (0 件)

カテゴリ

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

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by