2015-03-19 15:11:53 +08:00
|
|
|
|
function plotAndComparison( rVolt,rVAngel,SEVolt,SEVAngel,mVolt )
|
2013-04-14 22:24:19 +08:00
|
|
|
|
x=1:length(rVolt);
|
|
|
|
|
|
subplot(2,1,1);
|
|
|
|
|
|
plot(x,rVolt,'r-');
|
2015-03-19 15:11:53 +08:00
|
|
|
|
title('<EFBFBD><EFBFBD>ѹ')
|
2013-04-14 22:24:19 +08:00
|
|
|
|
hold on
|
|
|
|
|
|
plot(x,SEVolt);
|
2015-03-19 15:11:53 +08:00
|
|
|
|
hold on
|
|
|
|
|
|
plot(x,mVolt,'g');
|
|
|
|
|
|
legend('actual','estimate','measure');
|
2013-04-14 22:24:19 +08:00
|
|
|
|
subplot(2,1,2);
|
|
|
|
|
|
plot(x,rVAngel,'r-');
|
|
|
|
|
|
hold on
|
|
|
|
|
|
plot(x,SEVAngel);
|
2015-03-19 15:11:53 +08:00
|
|
|
|
title('<EFBFBD><EFBFBD><EFBFBD><EFBFBD>')
|
|
|
|
|
|
legend('actual','estimate');
|
2013-04-14 22:24:19 +08:00
|
|
|
|
end
|
|
|
|
|
|
|