亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? matlab實用程序百例2.txt

?? 一本有關MIT matlab的書籍
?? TXT
?? 第 1 頁 / 共 5 頁
字號:
camlight left
lightk=light('position',[0 -2 1]);
button1=uicontrol('parent',h0,...
    'style','pushbutton',...
    'string','設置光線',...
    'position',[80 60 70 30],...
    'callback',[...
        'an1=inputdlg(''光線來源的X軸坐標'');,',...
        'k1=str2num(an1{1});,',...
        'an2=inputdlg(''光線來源的Y軸坐標'');,',...
        'k2=str2num(an2{1});,',...
        'an3=inputdlg(''光線來源的Z軸坐標'');,',...
        'k3=str2num(an3{1});,',...
        'set(lightk,''position'',[k1 k2 k3]);,',...
        'set(edit1,''string'',[''['',num2str(k1),'' '',num2str(k2),'' '',num2str(k3),'']'']);']);
button2=uicontrol('parent',h0,...
    'style','pushbutton',...
    'string','關閉',...
    'position',[250 60 70 30],...
    'callback','close');
edit1=uicontrol('parent',h0,...
    'style','edit',...
    'max',2,...
    'min',0,...
    'fontsize',15,...
    'backgroundcolor',[1 1 1],...
    'string','[0 -2 1]',...
    'position',[80 110 220 30]);
text1=uicontrol('parent',h0,...
    'style','text',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'fontsize',15,...
    'string','光線來源坐標',...
    'position',[80 140 220 30]);
實例54:添加效果

h0=figure('toolbar','none',...
    'position',[200 50 300 350],...
    'name','實例54');
h1=axes('parent',h0,...
    'position',[0.2 0.4 0.6 0.6],...
    'visible','off');
ezsurf('sin(sqrt(x.^2+y.^2))/sqrt(x.^2+y.^2)',[-6*pi,6*pi])
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','設置',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[40 50 50 20],...
    'callback',[...
        'view(0,75);,',...
        'shading interp;,',...
        'lightangle(-45,30);,',...
        'k=findobj(gca,''type'',''surface'');,'...
        'set(k,''facelighting'',''phong'');,',...
        'set(k,''ambientstrength'',0.3);,',...
        'set(k,''diffusestrength'',0.8);,',...
        'set(k,''specularstrength'',0.9);,',...
        'set(k,''specularexponent'',25);,',...
        'set(k,''backfacelighting'',''unlit'')']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','關閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[120 50 50 20],...
    'callback','close');
實例55:查詢日期

h0=figure('toolbar','none',...
    'position',[198 56 408 468],...
    'name','實例55');
h1=axes('parent',h0,...
    'position',[0.15 0.5 0.7 0.5],...
    'visible','off');
huidiao=[...
        'yearnum=str2num(get(edit1,''string''));,',...
        'monthnum=str2num(get(edit2,''string''));,',...
        'daynum=str2num(get(edit3,''string''));,',...
        'monthday=[0 31 28 31 30 31 30 31 31 30 31 30 31];,',...
        'dyear=yearnum-2000;,',...
        'beishu=fix(dyear/4);,',...
        'yushu=rem(yearnum,4);,',...
        'if yushu==0,',...
        'monthday(3)=29;,',...
        'end,',...
        'mday=0;,',...
        'for i=1:monthnum,',...
        'mday=monthday(i)+mday;,',...
        'end,',...
        'yearday=mday+daynum-1;,',...
        'noweek=fix(yearday/7);,',...
        'set(edit5,''string'',[''第'',num2str(noweek),''周'']);,',...
        'if dyear>0,',...
        'if yushu==0,',...
        'beishu=beishu-1;,',...
        'end,',...
        'dday=yearday+365*dyear+beishu+1;,',...
        'end,',...
        'if dyear<=0,',...
        'dday=365*dyear+yearday+beishu;,',...
        'end,',...
        'mweek=rem(dday,7)+7;,',...
        'if mweek==8,',...
        'set(edit4,''string'',''Sunday'');,',...
        'end,',...
        'if mweek==9,',...
        'set(edit4,''string'',''Monday'');,',...
        'end,',...
        'if mweek==10,',...
        'set(edit4,''string'',''Tuesday'');,',...
        'end,',...
        'if mweek==11,',...
        'set(edit4,''string'',''Wednesday'');,',...
        'end,',...
        'if mweek==12,',...
        'set(edit4,''string'',''Thursday'');,',...
        'end,',...
        'if mweek==13,',...
        'set(edit4,''string'',''Friday'');,',...
        'end,',...
        'if mweek==7,',...
        'set(edit4,''string'',''Saturday'');,',...
        'end,',...
        'if mweek==6,',...
        'set(edit4,''string'',''Friday'');,',...
        'end,',...
        'if mweek==5,',...
        'set(edit4,''string'',''Thursday'');,',...
        'end,',...
        'if mweek==4,',...
        'set(edit4,''string'',''Wednesday'');,',...
        'end,',...
        'if mweek==3,',...
        'set(edit4,''string'',''Tuesday'');,',...
        'end,',...
        'if mweek==2,',...
        'set(edit4,''string'',''Monday'');,',...
        'end,',...
        'if mweek==1,',...
        'set(edit4,''string'',''Sunday'');,',...
        'end'];
edit1=uicontrol('parent',h0,...
    'style','edit',...
    'horizontalalignment','right',...
    'position',[40 300 50 20]);
text1=uicontrol('parent',h0,...
    'style','text',...
    'string','年',...
    'horizontalalignment','left',...
    'position',[90 300 50 20]);
edit2=uicontrol('parent',h0,...
    'style','edit',...
    'horizontalalignment','right',...
    'position',[160 300 50 20]);
text2=uicontrol('parent',h0,...
    'style','text',...
    'string','月',...
    'horizontalalignment','left',...
    'position',[210 300 50 20]);
edit3=uicontrol('parent',h0,...
    'style','edit',...
    'horizontalalignment','right',...
    'position',[280 300 50 20]);
text3=uicontrol('parent',h0,...
    'style','text',...
    'string','日',...
    'horizontalalignment','left',...
    'position',[330 300 50 20]);
edit4=uicontrol('parent',h0,...
    'style','edit',...
    'horizontalalignment','left',...
    'position',[210 200 120 20]);
text4=uicontrol('parent',h0,...
    'style','text',...
    'string','查找的日期為',...
    'horizontalalignment','right',...
    'position',[110 200 100 20]);
edit5=uicontrol('parent',h0,...
    'style','edit',...
    'horizontalalignment','left',...
    'position',[210 100 120 20]);
text1=uicontrol('parent',h0,...
    'style','text',...
    'string','該日處于',...
    'horizontalalignment','left',...
    'position',[160 100 50 20]);
button1=uicontrol('parent',h0,...
    'style','pushbutton',...
    'position',[80 40 80 30],...
    'string','開始',...
    'callback',huidiao);
button2=uicontrol('parent',h0,...
    'style','pushbutton',...
    'position',[220 40 80 30],...
    'string','關閉',...
    'callback','close'); 
實例56:圖形效果(1)

h0=figure('toolbar','none',...
    'position',[198 56 450 468],...
    'name','實例56');
h1=axes('parent',h0,...
    'position',[0.3 0.45 0.5 0.5],...
    'visible','off');
l1=uimenu(gcf,'label','Draw figure',...
    'tag','l1');
huidiao=[...
        'if get(r1,''value'')==1,',...
        'shading faceted,',...
        'end,',...
        'if get(r2,''value'')==1,',...
        'shading flat,',...
        'end,',...
        'if get(r3,''value'')==1,',...
        'shading interp,',...
        'end,',...
        'k=get(p1,''value'');,',...
        'switch k,',...
        'case 1,',...
        'colormap(''cool''),',...
        'case 2,',...
        'colormap(''spring''),',...
        'case 3,',...
        'colormap(''summer''),',...
        'case 4,',...
        'colormap(''autumn''),',...
        'case 5,',...
        'colormap(''winter''),',...
        'end'];
l11=uimenu('parent',l1,...
    'label','Surface',...
    'tag','l11',...
    'callback',[...
        '[x,y]=meshgrid(-8:0.5:8);,',...
        'r=sqrt(x.^2+y.^2)+eps;,',...
        'z=sin(r)./r;,',...
        'surf(x,y,z),',...
        huidiao]);
l12=uimenu('parent',l1,...
    'label','Mesh',...
    'tag','l12',...
    'callback',[...
        'mesh(peaks),',...
        huidiao]);
l13=uimenu('parent',l1,...
    'label','Membrane',...
    'tag','l13',...
    'callback',[...
        'mesh(membrane),',...
        huidiao]);
f1=uicontrol('parent',h0,...
    'units','points',...
    'listboxtop',0,...
    'position',[12 6 100 101],...
    'style','frame',...
    'tag','f1');
r1=uicontrol('parent',h0,...
    'units','points',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'listboxtop',0,...
    'position',[19.5 58.5 72.75 16.5],...
    'string','shading faceted',...
    'style','radiobutton',...
    'tag','r1',...
    'value',1,...
    'callback',[...
        'shading faceted,',...
        'set(r1,''value'',1);,',...
        'set(r2,''value'',0);,',...
        'set(r3,''value'',0);']);
r2=uicontrol('parent',h0,...
    'units','points',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'listboxtop',0,...
    'position',[19.5 35.25 78.75 18.75],...
    'string','shading flat',...
    'style','radiobutton',...
    'tag','r2',...
    'value',0,...
    'callback',[...
        'shading flat,',...
        'set(r2,''value'',1);,',...
        'set(r1,''value'',0);,',...
        'set(r3,''value'',0);']);
r3=uicontrol('parent',h0,...
    'units','points',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'listboxtop',0,...
    'position',[19.5 12.75 71.25 18.75],...
    'string','shading interp',...
    'style','radiobutton',...
    'tag','r3',...
    'value',0,...
    'callback',[...
        'shading interp,',...
        'set(r3,''value'',1);,',...
        'set(r1,''value'',0);,',...
        'set(r2,''value'',0);']);
t1=uicontrol('parent',h0,...
    'units','points',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'fontsize',12,...
    'listboxtop',0,...
    'position',[14.25 75.75 90.75 22.5],...
    'string','平滑處理',...
    'style','text',...
    'tag','t1');
t2=uicontrol('parent',h0,...
    'units','points',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'fontsize',12,...
    'listboxtop',0,...
    'position',[117 69 72.75 17.5],...
    'string','設置色調',...
    'style','text',...
    'tag','t2');
p1=uicontrol('parent',h0,...
    'units','points',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'listboxtop',0,...
    'position',[116.25 39 72.75 20.25],...
    'string','Cool|Spring|Summer|Autumn|Winter',...
    'style','popupmenu',...
    'tag','p1',...
    'value',1,...
    'callback',[...
        'k=get(p1,''value'');,',...
        'switch k,',...
        'case 1,',...
        'colormap(''cool''),',...
        'case 2,',...
        'colormap(''spring''),',...
        'case 3,',...
        'colormap(''summer''),',...
        'case 4,',...
        'colormap(''autumn''),',...
        'case 5,',...
        'colormap(''winter''),',...
        'end']);
b1=uicontrol('parent',h0,...
    'units','points',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'listboxtop',0,...
    'position',[12 243 72.75 30.75],...
    'string','關閉',...
    'tag','b1',...
    'callback','close');
b2=uicontrol('parent',h0,...
    'units','points',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'listboxtop',0,...
    'position',[216.75 67.5 83.25 18.75],...
    'string','Colorbar',...
    'tag','b2',...
    'callback','colorbar');
實例57:圖形效果

h0=figure('toolbar','none',...
    'position',[168 94.5 315 289.5],...
    'name','實例57');
h1=axes('parent',h0,...
    'position',[0.4 0.4 0.5 0.5],...
    'visible','off');
f1=uicontrol('parent',h0,...
    'style','frame',...
    'position',[15 10 80 70],...
    'string','dull',...
    'units','points',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'listboxtop',0,...
    'tag','r1',...
    'value',1,...
    'callback',[...
        'set(r1,''value'',1);,',...
        'set(r2,''value'',0);,',...
        'set(r3,''value'',0);,',...
        'material dull']);
r1=uicontrol('parent',h0,...
    'style','radiobutton',...
    'position',[19.5 58.5 72.75 16.5],...
    'string','dull',...
    'units','points',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'listboxtop',0,...
    'tag','r1',...
    'value',1,...
    'callback',[...
        'set(r1,''value'',1);,',...
        'set(r2,''value'',0);,',...
        'set(r3,''value'',0);,',...
        'material dull']);
r2=uicontrol('parent',h0,...
    'style','radiobutton',...
    'position',[19.5 35.25 72.75 16.5],...
    'string','metal',...
    'units','points',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'listboxtop',0,...
    'tag','r2',...
    'value',0,...
    'callback',[...
        'set(r2,''value'',1);,',...
        'set(r1,''value'',0);,',...
        'set(r3,''value'',0);,',...
        'material metal']);
r3=uicontrol('parent',h0,...
    'style','radiobutton',...
    'position',[19.5 12.75 72.75 16.5],...
    'string','shiny',...
    'units','points',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'listboxtop',0,...
    'tag','r3',...
    'value',0,...
    'callback',[...
        'set(r3,''value'',1);,',...
        'set(r1,''value'',0);,',...
        'set(r2,''value'',0);,',...
        'material shiny']);
u1=uimenu('parent',h0,...
    'label','繪圖',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'tag','u1',...
    'callback',[...
        '[x,y]=meshgrid(-8:0.5:8);,',...
        'r=sqrt(x.^2+y.^2)+eps;,',...
        'z=sin(r)./r;,',...
        'surf(x,y,z),',...
        'shading interp']);
b1=uicontrol('parent',h0,...
    'style','pushbutton',...
    'position',[19.5 150 60 20],...
    'string','light',...
    'units','points',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'listboxtop',0,...
    'tag','b1',...
    'callback','camlight headlight');
b2=uicontrol('parent',h0,...

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一级爆毛片| 欧美日韩视频一区二区| 亚洲国产精品久久一线不卡| 精品国产欧美一区二区| 色综合久久88色综合天天6| 麻豆视频一区二区| 亚洲男人的天堂一区二区| 亚洲精品在线免费播放| 91日韩一区二区三区| 国产 日韩 欧美大片| 免费在线观看一区| 亚洲黄网站在线观看| 欧美激情一区二区三区蜜桃视频 | 日本一区二区免费在线观看视频| 一本色道久久综合亚洲aⅴ蜜桃| 韩国欧美国产一区| 三级在线观看一区二区| 亚洲美女淫视频| 国产精品伦一区二区三级视频| www一区二区| 91精品欧美久久久久久动漫 | 一片黄亚洲嫩模| 日本一区二区动态图| 精品伦理精品一区| 9191国产精品| 欧美无砖砖区免费| 色综合婷婷久久| 91理论电影在线观看| 国产精品2024| 国模冰冰炮一区二区| 美女网站在线免费欧美精品| 日本中文在线一区| 五月激情综合婷婷| 亚洲国产成人av| 亚洲综合久久av| 亚洲精品ww久久久久久p站 | 美女看a上一区| 午夜精品久久久久久久99樱桃| 亚洲精品午夜久久久| 亚洲欧洲三级电影| 国产精品毛片大码女人| 中文字幕不卡的av| 国产精品久久久久久久久搜平片| 中日韩免费视频中文字幕| 久久免费美女视频| 久久嫩草精品久久久精品| 精品国产乱码久久久久久蜜臀| 欧美一区二区三区在线| 欧美一卡二卡三卡| 久久久久久亚洲综合| 2024国产精品| 国产亚洲一区二区三区四区| 中文字幕免费不卡| 综合久久一区二区三区| 亚洲女同女同女同女同女同69| 亚洲女同ⅹxx女同tv| 亚洲精品日产精品乱码不卡| 亚洲精品自拍动漫在线| 亚洲第一二三四区| 免费观看成人鲁鲁鲁鲁鲁视频| 久久99国产精品麻豆| 国产精品91一区二区| 99九九99九九九视频精品| 色悠久久久久综合欧美99| 91黄色免费版| 欧美成人国产一区二区| 久久久精品人体av艺术| 国产精品久久免费看| 亚洲福利一区二区| 久久福利视频一区二区| 国产69精品久久777的优势| 91在线一区二区| 欧美美女网站色| 精品sm捆绑视频| 一区二区三区波多野结衣在线观看| 亚洲成人你懂的| 国产精品一区在线观看乱码| 一本色道久久综合亚洲精品按摩 | 亚洲精品在线观看网站| 国产精品的网站| 午夜精品影院在线观看| 国产精品一级二级三级| 在线一区二区三区四区| 欧美成人bangbros| 亚洲精品综合在线| 狠狠色综合日日| 欧美性生活影院| 久久综合久久综合久久| 一级精品视频在线观看宜春院| 国产麻豆日韩欧美久久| 欧洲激情一区二区| 久久久国产精华| 日韩福利视频导航| 91污片在线观看| 精品毛片乱码1区2区3区| 亚洲欧美日韩国产综合在线| 久久国产精品72免费观看| 一本大道久久a久久综合| 久久久五月婷婷| 日韩成人一区二区三区在线观看| 国产成人h网站| 欧美一级高清片| 一区二区激情视频| 国产69精品久久久久777| 91精品婷婷国产综合久久竹菊| 综合久久给合久久狠狠狠97色| 极品美女销魂一区二区三区免费| 色88888久久久久久影院野外| 久久久久久一级片| 美女网站一区二区| 欧美在线你懂得| 亚洲欧美色一区| 成人国产精品免费观看动漫| 欧美成人综合网站| 天天av天天翘天天综合网色鬼国产 | 欧美在线视频日韩| 国产精品系列在线| 国产一区二区三区不卡在线观看| 欧美日韩精品一区二区三区| 亚洲免费观看高清在线观看| 国产成人8x视频一区二区| 欧美一个色资源| 青青草国产精品97视觉盛宴| 在线精品视频免费播放| 日韩美女视频一区二区| 国产福利一区二区| 精品国产123| 韩国av一区二区三区四区| 欧美一级在线观看| 秋霞电影网一区二区| 欧美午夜片在线观看| 亚洲精品欧美激情| 波多野结衣亚洲| 国产精品美女久久久久久久| 北条麻妃一区二区三区| 久久精品人人做人人综合| 国产综合色视频| 久久精品一区二区三区av| 国产露脸91国语对白| 久久久久九九视频| 国产成人夜色高潮福利影视| 久久久国产午夜精品 | 欧美精品久久天天躁| 性欧美大战久久久久久久久| 欧美另类久久久品| 日本中文字幕一区二区视频| 91精品国产综合久久久久| 日本成人超碰在线观看| 欧美一二三四区在线| 狠狠色狠狠色综合日日91app| 久久影视一区二区| 国产成人精品亚洲午夜麻豆| 中文av一区二区| 欧美影院一区二区三区| 日韩精品乱码免费| 欧美v国产在线一区二区三区| 国产在线不卡一区| 欧美激情中文不卡| 日本韩国欧美国产| 日本美女一区二区三区| 精品国产一区二区三区四区四| 国产91在线看| 一区二区三区色| 欧美一级高清片在线观看| 国产米奇在线777精品观看| 亚洲国产电影在线观看| 91国偷自产一区二区三区观看| 日本亚洲三级在线| 国产亚洲精品精华液| 色综合天天视频在线观看| 日本不卡中文字幕| 国产清纯在线一区二区www| 色综合色综合色综合| 蜜桃av噜噜一区| 中文字幕一区二区三区色视频| 欧美日韩小视频| 国产一区二区三区综合| 亚洲乱码中文字幕综合| 91精品国产综合久久小美女| 国产成人午夜高潮毛片| 亚洲国产另类av| 国产欧美日韩视频一区二区 | 日韩限制级电影在线观看| 国产成+人+日韩+欧美+亚洲| 亚洲成a人片综合在线| 久久久久久免费| 欧美日韩国产电影| 波多野结衣在线aⅴ中文字幕不卡| 亚洲国产精品久久不卡毛片| 久久久国产综合精品女国产盗摄| 欧美亚洲日本国产| 岛国精品在线观看| 免费观看日韩av| 亚洲一区在线看| 中文字幕精品三区| 欧美成人video| 欧美视频一区二区在线观看| 成人免费视频一区| 日本成人超碰在线观看| 一区二区三区欧美激情|