Matlab程序代码

时间:2016-11-12 07:23:30
【文件属性】:

文件名称:Matlab程序代码

文件大小:646B

文件格式:M

更新时间:2016-11-12 07:23:30

observor

clear all close all load ('2_degree_observor.txt') load ('10_degree_observor.txt') x = X2_degree_observor (:,1) y = X2_degree_observor(:,2) y2=X2_degree_observor (:,3) y3=X2_degree_observor(:, 4) plot (x,y,x,y2,x,y3) xlabel ('Wavelength (nm)') ylabel ('Tristimulus Values') title ('CIE Standard Observer Color Matching Functions') axis ([350 850 0 2]) hold on x2 = X10_degree_observor (:,1) y4 = X10_degree_observor (:,2) y5 = X10_degree_observor (:,3) y6 = X10_degree_observor (:,4) plot (x2,y4,'--',x2,y5,'--',x2,y6,'--') legend ('2 Deg z-Bar','2 Deg y-Bar','2 Deg x-Bar','10 Deg z-Bar','10 Deg y-Bar','10 Deg x-Bar') print ('-dtiff', 'tt.tif')


网友评论