You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.3 KiB
Matlab
57 lines
1.3 KiB
Matlab
%打开参数文件读取数据
|
|
load('x.mat');
|
|
load('fx.mat');
|
|
load('psf_Airy.mat');
|
|
load('psf_rect.mat');
|
|
load('psf_static.mat');
|
|
load('psf_onorbit_all.mat');
|
|
load('MTF_Airy.mat');
|
|
load('MTF_rect.mat');
|
|
load('MTF_static_all.mat');
|
|
load('MTF_onorbit_all.mat');
|
|
M = length(x);
|
|
|
|
figure()
|
|
subplot(2,2,1)
|
|
plot(x,psf_Airy(M/2+1,:),'-k');
|
|
hold on
|
|
plot(x,psf_rect(M/2+1,:),'-.b');
|
|
plot(x,psf_static(M/2+1,:),'o-g');
|
|
plot(x,psf_onorbit_all(M/2+1,:),'*-r');
|
|
hold off
|
|
title('垂轨psf');
|
|
legend('艾里斑','矩形窗','静态PSF','动态PSF')
|
|
ylim([0,1])
|
|
|
|
subplot(2,2,2)
|
|
plot(x,psf_Airy(:,M/2+1),'-k');
|
|
hold on
|
|
plot(x,psf_rect(:,M/2+1),'-.b');
|
|
plot(x,psf_static(:,M/2+1),'o-g');
|
|
plot(x,psf_onorbit_all(:,M/2+1),'*-r');
|
|
hold off
|
|
title('沿轨psf');
|
|
legend('艾里斑','矩形窗','静态PSF','动态PSF')
|
|
ylim([0,1])
|
|
|
|
subplot(2,2,3)
|
|
plot(fx,MTF_Airy(M/2+1,:),'-k');
|
|
hold on
|
|
plot(fx,MTF_rect(M/2+1,:),'-.b');
|
|
plot(fx,MTF_static_all(M/2+1,:),'o-g');
|
|
plot(fx,MTF_onorbit_all(M/2+1,:),'*-r');
|
|
hold off
|
|
title('垂轨MTF');
|
|
legend('艾里斑','矩形窗','静态MTF','动态MTF')
|
|
ylim([0,1])
|
|
|
|
subplot(2,2,4)
|
|
plot(fx,MTF_Airy(:,M/2+1),'-k');
|
|
hold on
|
|
plot(fx,MTF_rect(:,M/2+1),'-.b');
|
|
plot(fx,MTF_static_all(:,M/2+1),'o-g');
|
|
plot(fx,MTF_onorbit_all(:,M/2+1),'*-r');
|
|
hold off
|
|
title('沿轨MTF');
|
|
legend('艾里斑','矩形窗','静态MTF','动态MTF')
|
|
ylim([0,1]) |