How can I superpose the results of a repeated simulation on the same plot?

1 view (last 30 days)
I have a simulink model of a PV panel and I want to plot the I/V curves at different irradiances and superpose them on the same plot, for now I'm able to repeat the simulations but the plots appear in different windows, this is my code so far:
Irr = zeros(500,1000);
for Irr = 500:250:1000
sim panel
figure; hold on;
title('V/I Curve')
xlabel('Voltage (V)','fontsize',14)
ylabel('Current (A)','fontsize',14)

Answers (0)

Community Treasure Hunt

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

Start Hunting!