function plotAndComparison( rVolt,rVAngel,SEVolt,SEVAngel ) x=1:length(rVolt); subplot(2,1,1); plot(x,rVolt,'r-'); hold on plot(x,SEVolt); subplot(2,1,2); plot(x,rVAngel,'r-'); hold on plot(x,SEVAngel); end