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

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

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

?? 里面有近百個MATLAB的小程序
?? TXT
?? 第 1 頁 / 共 5 頁
字號:
    '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,',...
        'b=remez(10,[0 0.4 0.6 1]

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品一区二区久久婷婷| 午夜久久久影院| 亚洲免费色视频| 美国三级日本三级久久99| 91香蕉国产在线观看软件| 欧美变态口味重另类| 亚洲尤物视频在线| 不卡一区二区三区四区| 精品久久久久一区| 免费在线看一区| 欧美伊人久久久久久久久影院 | 51精品视频一区二区三区| 中文字幕亚洲视频| 丁香六月综合激情| 久久九九国产精品| 国产伦精品一区二区三区视频青涩 | 欧洲精品视频在线观看| 国产精品久久久久久久裸模| 国产米奇在线777精品观看| 欧美一区二区三区影视| 亚洲午夜国产一区99re久久| 94-欧美-setu| 国产精品国产馆在线真实露脸| 韩国精品久久久| 欧美成人三级在线| 免费观看久久久4p| 欧美大片日本大片免费观看| 丝袜亚洲另类欧美综合| 日韩精品一区二区三区中文精品| 午夜视频在线观看一区二区| 免费不卡在线观看| 91精品国产入口| 亚洲成年人影院| 欧美片网站yy| 麻豆精品一区二区| 精品国产亚洲在线| 激情综合五月天| 久久精品视频一区二区三区| 国产福利一区二区三区视频 | 欧美视频一区二| 亚洲成人午夜影院| 91精品国产欧美一区二区| 秋霞影院一区二区| 久久欧美中文字幕| av影院午夜一区| 亚洲综合免费观看高清完整版| 欧美亚洲国产一区二区三区va| 午夜精品在线视频一区| 欧美一级二级三级蜜桃| 激情亚洲综合在线| 国产精品福利一区二区三区| 欧美伊人久久久久久久久影院| 日韩精品91亚洲二区在线观看| 日韩精品中文字幕在线一区| 高清视频一区二区| 一区二区三区欧美日| 7777精品伊人久久久大香线蕉经典版下载| 三级成人在线视频| 久久久亚洲精华液精华液精华液| 99re热这里只有精品视频| 亚洲国产欧美在线| 国产日韩亚洲欧美综合| 欧美制服丝袜第一页| 老司机精品视频在线| 国产精品素人视频| 欧美精品aⅴ在线视频| 久久精品国内一区二区三区| 国产精品入口麻豆九色| 欧美日韩免费一区二区三区| 国产精一品亚洲二区在线视频| 日韩理论片一区二区| 日韩西西人体444www| 91视频在线观看免费| 麻豆中文一区二区| 亚洲欧美韩国综合色| 日韩美女主播在线视频一区二区三区| 成人爱爱电影网址| 久久国产尿小便嘘嘘| 亚洲免费三区一区二区| 久久免费午夜影院| 欧美精品自拍偷拍| 99国产欧美久久久精品| 精品系列免费在线观看| 亚洲一级二级三级| 欧美韩日一区二区三区| 精品少妇一区二区三区在线视频| 欧美成人bangbros| 色国产综合视频| 国产大陆精品国产| 美日韩一区二区| 一卡二卡三卡日韩欧美| 亚洲国产精品激情在线观看| 日韩欧美国产一二三区| 欧美视频三区在线播放| 色综合天天综合在线视频| 国产福利一区二区三区视频| 久久99国产乱子伦精品免费| 日日嗨av一区二区三区四区| 一区二区三区四区中文字幕| 国产精品乱人伦中文| 欧美成人精品高清在线播放| 欧美二区三区的天堂| 在线精品视频免费播放| 色综合色综合色综合 | 国产精品天美传媒| 国产亚洲精久久久久久| 精品国产伦一区二区三区观看体验 | 精品国产乱码久久久久久久久| 欧美艳星brazzers| 在线观看国产精品网站| 91麻豆自制传媒国产之光| 大桥未久av一区二区三区中文| 国产精品一区二区在线观看不卡| 美脚の诱脚舐め脚责91 | av激情亚洲男人天堂| 国产精品性做久久久久久| 国产福利一区二区三区视频在线| 国产自产视频一区二区三区| 久久国产夜色精品鲁鲁99| 久久精品99久久久| 国产精品一区二区三区99| 国产精品1区2区3区在线观看| 国产美女av一区二区三区| 国产精品亚洲视频| www.欧美亚洲| 91久久国产综合久久| 欧美视频一区二区在线观看| 欧美日韩精品一区二区| 欧美一二三四在线| 精品乱人伦小说| 欧美经典三级视频一区二区三区| 国产免费成人在线视频| 最新高清无码专区| 亚洲成人免费影院| 麻豆精品久久精品色综合| 黑人巨大精品欧美黑白配亚洲| 国产成人在线视频播放| www.综合网.com| 欧美日韩一区精品| 亚洲免费资源在线播放| 亚洲一区二区三区四区在线 | 亚洲一区中文在线| 男人的j进女人的j一区| 精品一区二区三区免费| 丁香婷婷综合五月| 欧美性受极品xxxx喷水| 欧美精品一区二区精品网| 亚洲日穴在线视频| 免费人成网站在线观看欧美高清| 国产精品18久久久久久久网站| 一本色道久久加勒比精品| 欧美美女一区二区| 日本一区二区三区国色天香| 亚洲福利国产精品| 国产成人免费在线观看| 欧美性感一区二区三区| 亚洲精品在线电影| 亚洲一级二级在线| 国产成人免费在线| 欧美日韩电影一区| 国产精品精品国产色婷婷| 蜜桃一区二区三区在线| 99久久婷婷国产精品综合| 欧美一级高清片| 亚洲一区日韩精品中文字幕| 精品亚洲成a人在线观看| 欧美色图免费看| 国产精品成人免费在线| 久久99精品国产麻豆不卡| 欧美性受xxxx黑人xyx| 中文字幕巨乱亚洲| 美国毛片一区二区三区| 欧美色精品天天在线观看视频| 国产精品免费视频网站| 国产一区999| 欧美电影免费观看高清完整版| 亚洲免费观看高清| 成人免费毛片片v| 精品久久久久久最新网址| 亚洲一二三专区| 91国产丝袜在线播放| 中文字幕的久久| 精品在线视频一区| 欧美一卡二卡三卡四卡| 一区二区三区在线播放| 不卡的av中国片| 国产精品污www在线观看| 国产一区激情在线| 4438x亚洲最大成人网| 亚洲美女免费视频| 99久久精品久久久久久清纯| 国产欧美一区在线| 国产成人av电影| 国产清纯美女被跳蛋高潮一区二区久久w| 日韩vs国产vs欧美| 欧美不卡一二三| 久久av中文字幕片| 精品福利在线导航| 国产一区二区精品在线观看| 国产亚洲污的网站|