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

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

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

?? 實用程序 對于初學MATLAB的人 很有幫助 也給編程節省不少時間
?? TXT
?? 第 1 頁 / 共 5 頁
字號:
e3=uicontrol('parent',h0,...
    'units','points',...
    'tag','e3',...
    'style','edit',...
    'horizontal','right',...
    'backgroundcolor',[1 1 1],...
    'fontsize',12,...
    'position',[140 80 30 20],...
    'string',num2str(now(3)));
t3=uicontrol('parent',h0,...
    'units','points',...
    'tag','t3',...
    'style','text',...
    'string','日',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'fontsize',14,...
    'position',[175 80 20 20]);
e4=uicontrol('parent',h0,...
    'units','points',...
    'tag','e4',...
    'style','edit',...
    'backgroundcolor',[1 1 1],...
    'horizontal','right',...
    'fontsize',12,...
    'position',[20 30 100 20],...
    'string',[num2str(now(4)),':',num2str(now(5)),':',num2str(now(6))]);
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'string','關閉',...
    'fontsize',12,...
    'position',[150 30 50 20],...
    'callback',[...
        'k=1;,',...
        'close']);
k=0;
while find(get(0,'children'))==h0
    now1=fix(clock)
    set(e1,'string',num2str(now1(1)));
    set(e2,'string',num2str(now1(2)));
    set(e3,'string',num2str(now1(3)));
    set(e4,'string',[num2str(now1(4)),':',num2str(now1(5)),':',num2str(now1(6))]);
    pause(1)
    if k==1
        break
    end
end

實例65:時間計算器

h0=figure('toolbar','none',...
    'position',[200 150 300 250],...
    'name','實例65');
huidiao=[...
        'k=0;,',...
        'fyear=str2num(get(e1,''string''));,',...
        'fmonth=str2num(get(e2,''string''));,',...
        'fday=str2num(get(e3,''string''));,',...
        'syear=str2num(get(e4,''string''));,',...
        'smonth=str2num(get(e5,''string''));,',...
        'sday=str2num(get(e6,''string''));,',...
        'month=[0 31 28 31 30 31 30 31 31 30 31 30 31];,',...
        'k=fix(fyear/4);,',...
        'if rem(fyear,4)==0,',...
        'month(3)=29;,',...
        'else,',...
        'k=k+1;,',...
        'month(3)=28;,',...
        'end,',...
        'sum=0;,',...
        'for i=1:fmonth,',...
        'sum=sum+month(i);,',...
        'end,',...
        'fdday=fyear*365+sum+fday+k;,',...
        'l=fix(syear/4);,',...
        'if rem(syear,4)==0,',...
        'month(3)=29;,',...
        'else,',...
        'l=l+1;,',...
        'month(3)=28;,',...
        'end,',...
        'ssum=0;,',...
        'for i=1:smonth,',...
        'ssum=ssum+month(i);,',...
        'end,',...
        'sdday=syear*365+ssum+sday+l;,',...
        'dday=abs(fdday-sdday);,',...
        'set(e7,''string'',[num2str(dday),''天'']);'];
t0=uicontrol('parent',h0,...
    'units','points',...
    'tag','t0',...
    'style','text',...
    'string','開始日期:',...
    'horizontalalignment','right',...
    'fontsize',15,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[10 160 80 20]);
t8=uicontrol('parent',h0,...
    'units','points',...
    'tag','t8',...
    'style','text',...
    'string','結束日期:',...
    'horizontalalignment','right',...
    'fontsize',15,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[115 160 80 20]);
e1=uicontrol('parent',h0,...
    'units','points',...
    'tag','e1',...
    'style','edit',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[20 130 50 20]);
t1=uicontrol('parent',h0,...
    'units','points',...
    'tag','t1',...
    'style','text',...
    'string','年',...
    'horizontalalignment','left',...
    'fontsize',15,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[75 130 20 20]);
e2=uicontrol('parent',h0,...
    'units','points',...
    'tag','e2',...
    'style','edit',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[20 100 50 20]);
t2=uicontrol('parent',h0,...
    'units','points',...
    'tag','t2',...
    'style','text',...
    'string','月',...
    'horizontalalignment','left',...
    'fontsize',15,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[75 100 20 20]);
e3=uicontrol('parent',h0,...
    'units','points',...
    'tag','e3',...
    'style','edit',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[20 70 50 20]);
t3=uicontrol('parent',h0,...
    'units','points',...
    'tag','t3',...
    'style','text',...
    'string','日',...
    'horizontalalignment','left',...
    'fontsize',15,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[75 70 20 20]);
e4=uicontrol('parent',h0,...
    'units','points',...
    'tag','e4',...
    'style','edit',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[120 130 50 20]);
t4=uicontrol('parent',h0,...
    'units','points',...
    'tag','t4',...
    'style','text',...
    'string','年',...
    'horizontalalignment','left',...
    'fontsize',15,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[175 130 20 20]);
e5=uicontrol('parent',h0,...
    'units','points',...
    'tag','e5',...
    'style','edit',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[120 100 50 20]);
t5=uicontrol('parent',h0,...
    'units','points',...
    'tag','t5',...
    'style','text',...
    'string','月',...
    'horizontalalignment','left',...
    'fontsize',15,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[175 100 20 20]);
e6=uicontrol('parent',h0,...
    'units','points',...
    'tag','e6',...
    'style','edit',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[120 70 50 20]);
t6=uicontrol('parent',h0,...
    'units','points',...
    'tag','t6',...
    'style','text',...
    'string','日',...
    'horizontalalignment','left',...
    'fontsize',15,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[175 70 20 20]);
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','計算日期',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[20 40 50 20],...
    'callback',huidiao);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','關閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[20 10 50 20],...
    'callback','close');
e7=uicontrol('parent',h0,...
    'units','points',...
    'tag','e7',...
    'style','edit',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[120 10 80 20]);
t7=uicontrol('parent',h0,...
    'units','points',...
    'tag','t7',...
    'style','text',...
    'string','兩個日期相差:',...
    'horizontalalignment','right',...
    'fontsize',15,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 30 110 20]);

實例66:數字操作

h0=figure('toolbar','none',...
    'position',[200 150 350 200],...
    'name','實例66');
e1=uicontrol('parent',h0,...
    'units','points',...
    'tag','e1',...
    'style','edit',...
    'backgroundcolor',[1 1 1],...
    'position',[20 90 80 20],...
    'fontsize',12,...
    'horizontalalignment','right');
e2=uicontrol('parent',h0,...
    'units','points',...
    'tag','e2',...
    'style','edit',...
    'backgroundcolor',[1 1 1],...
    'position',[160 90 80 20],...
    'fontsize',12,...
    'horizontalalignment','right');
t1=uicontrol('parent',h0,...
    'units','points',...
    'tag','t1',...
    'style','text',...
    'string','初始數值(十進制):',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[15 110 90 20],...
    'fontsize',12,...
    'horizontalalignment','left');
t2=uicontrol('parent',h0,...
    'units','points',...
    'tag','t2',...
    'style','text',...
    'string','轉換結果:',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[155 110 90 20],...
    'fontsize',12,...
    'horizontalalignment','left');
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','二進制',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[30 50 50 20],...
    'callback',[...
        'k=get(e1,''string'');,',...
        'k2=str2num(k);,',...
        'bk=dec2bin(k2);,',...
        'set(e2,''string'',num2str(bk));']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','清除',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 50 50 20],...
    'callback',[...
        'set(e1,''string'','''');,',...
        'set(e2,''string'','''');']);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'style','pushbutton',...
    'string','十六進制',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[30 15 50 20],...
    'callback',[...
        'k=get(e1,''string'');,',...
        'k3=str2num(k);,',...
        'hk=dec2hex(k3);,',...
        'set(e2,''string'',num2str(hk));']);
b4=uicontrol('parent',h0,...
    'units','points',...
    'tag','b4',...
    'style','pushbutton',...
    'string','關閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 15 50 20],...
    'callback','close'); 

實例67:圖像的塊操作

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實例67');
h1=axes('parent',h0,...
    'position',[0.2 0.45 0.6 0.5],...
    'visible','off');
I=imread('tire.tif');
imshow(I)
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','pushbutton',...
    'string','邊沿操作',...
    'position',[30 100 50 20],...
    'callback',[...
        'cla,',...
        'I=imread(''tire.tif'');,',...
        'f=inline(''max(x(:))'');,',...
        'I2=nlfilter(I,[2 2],f);,',...
        'imshow(I2)']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','pushbutton',...
    'string','顯示塊操作',...
    'position',[100 100 50 20],...
    'callback',[...
        'cla,',...
        'I=imread(''tire.tif'');,',...
        'f=inline(''uint8(round(mean2(x)*ones(size(x))))'');,',...
        'I2=blkproc(I,[6 6],f);,',...
        'imshow(I2)']);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','pushbutton',...
    'string','交疊塊操作',...
    'position',[170 100 50 20],...
    'callback',[...
        'cla,',...
        'I=imread(''tire.tif'');,',...
        'f=inline(''uint8(round(mean2(x)*ones(size(x))))'');,',...
        'I2=blkproc(I,[6 6],[3 3],f);,',...
        'imshow(I2)']);
b4=uicontrol('parent',h0,...
    'units','points',...
    'tag','b4',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','pushbutton',...
    'string','關閉',...
    'fontsize',14,...
    'position',[90 50 70 30],...
    'callback','close');

實例68:圖形的過濾操作

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','過濾操作');
h1=axes('parent',h0,...
    'position',[0.3 0.45 0.5 0.5],...
    'visible','off');
I=imread('blood1.tif');
imshow(I)
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'string','均平過濾',...
    'position',[50 120 50 20],...
    'callback',[...
        'cla,',...
        'I=imread(''blood1.tif'');,',...
        'h=fspecial(''average'',6);,',...
        'I2=uint8(round(filter2(h,I)));,',...
        'imshow(I2)']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'string','Sobel過濾',...
    'position',[150 120 50 20],...
    'callback',[...
        'cla,',...
        'I=imread(''blood1.tif'');,',...
        'h=fspecial(''sobel'');,',...
        'I2=filter2(h,I);,',...
        'imshow(I2,[])']);
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'string','關閉',...
    'position',[85 60 80 30],...
    'callback','close'); 

實例69:圖像的頻率操作

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','頻率操作');
h1=axes('parent',h0,...
    'position',[0.3 0.45 0.5 0.5],...
    'visible','off');
b=remez(10,[0 0.4 0.6 1],[1 1 0 0]);
h=ftrans2(b);
[H,W]=freqz(b,1,64,'whole');
colormap(jet(64))
plot(W/pi-1,fftshift(abs(H)))
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','pushbutton',...
    'string','頻率變換',...
    'position',[30 100 50 20],...
    'callback',[...
        'cla,',

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
综合分类小说区另类春色亚洲小说欧美 | 欧美激情一区二区三区不卡 | 欧美在线一二三| 欧美人伦禁忌dvd放荡欲情| 日韩一区二区免费在线观看| 国产亚洲精品aa午夜观看| 亚洲成人综合网站| 成a人片亚洲日本久久| 精品国产伦一区二区三区观看方式| 亚洲欧洲综合另类在线| 国产精品一区二区在线看| 欧美剧情片在线观看| 亚洲靠逼com| 成人av网站免费观看| 日韩欧美国产wwwww| 午夜久久久影院| 欧美在线不卡一区| 亚洲男同1069视频| 99精品国产视频| 中文字幕欧美日本乱码一线二线 | 日本少妇一区二区| 色噜噜狠狠色综合中国| 欧美国产精品劲爆| 国产一区二区按摩在线观看| 日韩精品在线一区| 久久er精品视频| 精品国产一区二区三区久久影院 | 国产一区二区影院| 亚洲精品一区二区三区精华液| 午夜视黄欧洲亚洲| 欧美一区二区三区喷汁尤物| 日韩成人一区二区三区在线观看| 欧美私模裸体表演在线观看| 亚洲成人你懂的| 欧美蜜桃一区二区三区| 天天影视涩香欲综合网| 91精品国产色综合久久| 精品一区二区影视| 久久久久久久综合| 成人国产视频在线观看| 亚洲精品v日韩精品| 欧美在线看片a免费观看| 天天综合天天综合色| 欧美精选一区二区| 久久精品国产亚洲a| 国产亲近乱来精品视频| 91在线观看下载| 艳妇臀荡乳欲伦亚洲一区| 欧美美女bb生活片| 国内精品免费**视频| 国产亚洲自拍一区| 91在线国产福利| 天天免费综合色| 久久午夜国产精品| 一本色道**综合亚洲精品蜜桃冫| 亚洲成人av电影| 精品国产人成亚洲区| av电影一区二区| 五月婷婷久久丁香| 久久婷婷色综合| 色婷婷综合激情| 美女一区二区三区在线观看| 日本一区免费视频| 欧美日韩综合在线| 国产精品影音先锋| 亚洲伊人色欲综合网| 精品噜噜噜噜久久久久久久久试看| 粉嫩一区二区三区在线看| 亚洲午夜久久久久久久久电影网 | 成人精品一区二区三区四区| 亚洲综合偷拍欧美一区色| 欧美本精品男人aⅴ天堂| 成人一区二区三区在线观看| 亚洲高清免费观看| 亚洲国产精品99久久久久久久久| 色悠久久久久综合欧美99| 久久99精品网久久| 一区二区三区久久| 久久久久青草大香线综合精品| 日本高清免费不卡视频| 国产一区二区女| 日韩二区在线观看| 亚洲女子a中天字幕| 国产午夜精品在线观看| 51精品国自产在线| 在线精品视频小说1| 国产高清无密码一区二区三区| 午夜成人免费电影| 亚洲综合免费观看高清完整版在线 | 亚洲欧美日韩系列| 久久久综合激的五月天| 欧美二区乱c少妇| av动漫一区二区| 成人午夜短视频| 国产精品456| 久久国产精品无码网站| 日精品一区二区三区| 亚洲少妇最新在线视频| 欧美激情一区二区三区| 久久亚区不卡日本| 久久亚洲精华国产精华液| 精品少妇一区二区三区日产乱码| 欧美日韩电影在线| 精品视频在线看| 欧美午夜一区二区三区免费大片| av中文字幕一区| www.视频一区| 91香蕉视频污在线| 91啪九色porn原创视频在线观看| 成人免费视频caoporn| 国产99久久久久| 国产91在线观看丝袜| 国产成人综合在线观看| 国产精品一区二区三区四区| 国产一区在线视频| 国产精选一区二区三区| 国产一区二区三区视频在线播放| 韩国女主播成人在线观看| 国产一区在线观看视频| 国产伦精品一区二区三区在线观看| 精久久久久久久久久久| 国产九色sp调教91| 不卡在线视频中文字幕| 色综合天天综合网天天狠天天 | 国产日韩欧美不卡| 久久久不卡网国产精品一区| 国产日韩欧美不卡在线| 亚洲欧洲av另类| 亚洲精品欧美在线| 亚洲成年人网站在线观看| 免费观看成人av| 国产乱码精品一品二品| 99精品国产热久久91蜜凸| 色婷婷av一区二区三区gif| 欧美日韩视频在线一区二区| 91精品黄色片免费大全| 久久久久久久久久久久电影| 国产精品国产三级国产普通话蜜臀 | 日本韩国一区二区| 欧美亚洲一区二区三区四区| 91精品婷婷国产综合久久竹菊| 精品欧美乱码久久久久久1区2区| 久久久亚洲精品一区二区三区| 国产欧美一区二区三区网站| 亚洲欧美一区二区三区国产精品 | 精品一区二区在线看| 99麻豆久久久国产精品免费| 欧美亚洲愉拍一区二区| 精品福利二区三区| 亚洲色图都市小说| 日本三级亚洲精品| 成人一区二区三区在线观看| 欧美精品久久天天躁| 国产人伦精品一区二区| 午夜精品久久久久久久久| 国产一区二区精品久久| 欧美日韩午夜在线| 欧美国产激情一区二区三区蜜月| 亚洲成av人片在线观看无码| 国产精品一二三区| 在线不卡中文字幕播放| 中文字幕乱码日本亚洲一区二区| 性做久久久久久免费观看欧美| 国产高清精品网站| 4438x成人网最大色成网站| 国产女人aaa级久久久级| 亚洲精品免费播放| 国产一区91精品张津瑜| 91精品国产乱码| 亚洲一区二区偷拍精品| 成人免费不卡视频| 日韩精品在线网站| 天天操天天干天天综合网| 99精品桃花视频在线观看| 亚洲精品在线免费观看视频| 午夜精品久久久久影视| 色狠狠桃花综合| 中文字幕中文乱码欧美一区二区| 蜜桃视频免费观看一区| 欧美性猛交一区二区三区精品| 国产精品视频第一区| 久久66热re国产| 91精品国产高清一区二区三区 | 国产精品高潮呻吟| 久久99精品国产91久久来源| 69av一区二区三区| 亚洲一级二级在线| 色成年激情久久综合| 自拍偷拍国产亚洲| 成人免费视频视频| 中文一区二区完整视频在线观看| 国产精品一区二区x88av| 欧美xxxxx裸体时装秀| 蜜桃视频一区二区| 精品成人免费观看| 九色综合狠狠综合久久| 精品国产乱码久久久久久浪潮| 毛片av一区二区| 欧美大片日本大片免费观看| 国产一区二区三区在线观看免费 |