clc; close all; subplot(2,1,1) plot(voltage,current); grid on; subplot(2,1,2) plot(voltage,power); grid on;