求Matlab Logo的例子程序每句解读(程序如下)L = 40*membrane(1,25);set(gcf,'Color',[0 0 0]);\x05\x05\x05%设置颜色axes('CameraPosition',[-193.4013 -265.1546 220.4819],...'CameraTarget',[26 26 10],...'CameraUpVector',[0 0 1],...'Camer

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/17 08:00:26
求Matlab Logo的例子程序每句解读(程序如下)L = 40*membrane(1,25);set(gcf,'Color',[0 0 0]);\x05\x05\x05%设置颜色axes('CameraPosition',[-193.4013 -265.1546 220.4819],...'CameraTarget',[26 26 10],...'CameraUpVector',[0 0 1],...'Camer
xTQOP+te,LD|Qp7صM["ьx@ !Y_e춽SG,ν9w' n@SyUE^}<^>-VjU7N~zoZ[ åӣJ\ RI(u1擽`BFTY) 7;xMW{l7vO޽q*`ĨXtxS5$SRLAO%.Hg Ü܂(GXx[ =8}2O+^ߪ5RALJ£aEN3N4ᰡq9vk;>)RebJ%,w8# ˍ0f",l;@ U##7L \iSRDԯMyyŜ0uAif~L)X1T%MiB\seHbeoq(#R@@DAd9ÍL YK0{Fj m$'(|oӆ2}`g=p;j[*7Z/P.C8$!t`IP,!lpp 2R*X DU4ս-ײ9{Zs~>)?oik}Qv6CH)Ѹ ֻf^ ~!CHKznY "CJE22,{nn\0/C AHNn}[6h5ibyڅ 6Uݲ>`Uk=ԙ_鱱LAe㟎s=

求Matlab Logo的例子程序每句解读(程序如下)L = 40*membrane(1,25);set(gcf,'Color',[0 0 0]);\x05\x05\x05%设置颜色axes('CameraPosition',[-193.4013 -265.1546 220.4819],...'CameraTarget',[26 26 10],...'CameraUpVector',[0 0 1],...'Camer
求Matlab Logo的例子程序每句解读(程序如下)
L = 40*membrane(1,25);
set(gcf,'Color',[0 0 0]);\x05\x05\x05%设置颜色
axes('CameraPosition',[-193.4013 -265.1546 220.4819],...
'CameraTarget',[26 26 10],...
'CameraUpVector',[0 0 1],...
'CameraViewAngle',9.5,...
'DataAspectRatio',[1 1 .9],...
'Position',[0 0 1 1],...
'Visible','off',...
'XLim',[1 51],...
'YLim',[1 51],...
'ZLim',[-13 40]);
s = surface(L,...
'EdgeColor','none',...
'FaceColor',[0.9 0.2 0.2],...
'FaceLighting','phong',...
'AmbientStrength',0.3,...
'DiffuseStrength',0.6,...
'Clipping','off',...
'BackFaceLighting','lit',...
'SpecularStrength',1.1,...
'SpecularColorReflectance',1,...
'SpecularExponent',7);
l1 = light('Position',[40 100 20],...
'Style','local',...
'Color',[0 0.8 0.8]);
l2 = light('Position',[.5 -1 .4],...
'Color',[0.8 0.8 0]);

求Matlab Logo的例子程序每句解读(程序如下)L = 40*membrane(1,25);set(gcf,'Color',[0 0 0]);\x05\x05\x05%设置颜色axes('CameraPosition',[-193.4013 -265.1546 220.4819],...'CameraTarget',[26 26 10],...'CameraUpVector',[0 0 1],...'Camer
L = 40*membrane(1,25); % 你自定义函数.
set(gcf,'Color',[0 0 0]);\x09\x09\x09%设置颜色
axes('CameraPosition', [-193.4013 -265.1546 220.4819],...
'CameraTarget',[26 26 10], ...
'CameraUpVector',[0 0 1], ...
'CameraViewAngle',9.5, ...
'DataAspectRatio', [1 1 .9],...
'Position',[0 0 1 1], ...
'Visible','off', ...
'XLim',[1 51], ...
'YLim',[1 51], ...
'ZLim',[-13 40]); % 一直到这里是一句话,设置坐标轴属性.
s = surface(L, ...
'EdgeColor','none', ...
'FaceColor',[0.9 0.2 0.2], ...
'FaceLighting','phong', ...
'AmbientStrength',0.3, ...
'DiffuseStrength',0.6, ...
'Clipping','off',...
'BackFaceLighting','lit', ...
'SpecularStrength',1.1, ...
'SpecularColorReflectance',1, ...
'SpecularExponent',7); % 设置画图属性
l1 = light('Position',[40 100 20], ...
'Style','local', ...
'Color',[0 0.8 0.8]); % 添加一个灯光
l2 = light('Position',[.5 -1 .4], ...
'Color',[0.8 0.8 0]);% 添加另外一个灯光
可以私下联系,QQ