How to scale the output voltage on the X-axis of the figure about current-voltage characteristic of a Photolvataic module ?
I have simulated the photovoltaic (PV) module on Simulink as in my simulation. I want to transfer the signals of I-V scope into the plot in Matlab. But the scope do not show the voltage value on the X-axis. Instead, the X-axis shows the time. As a result, when I use the data saved in Matlab workspace, I just get the current-time plot instead of current-voltage plot. How can I fix this problem ? ( The current-time plot is the same as the I-V characteristic in datasheet of the PV panel, but the X-axis expresses the time value. I want to change it into voltage value)
2 Comments
Time Descendingsuppose V=V.signals(1).values and I=I.signals(1).values then command will give V on x axis and I on Y axis >>plot(V,I)
if command
>>plot(I,V) is used then x axis will be current and y axis will be voltage.
now suppose you want to scale the V to 90% down then >>V=0.9*V will give new values (colmn elements) which are 90% of previous value.
for further query contact on +917379650440
dear Le Thinh, if you examine the block on the link, it will help you. https://uk.mathworks.com/help/simulink/slref/xygraph.html