stateestimation-self-deriva.../plotAndComparison.m

15 lines
250 B
Matlab

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