亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
欧美日韩电影一区| 亚洲va国产va欧美va观看| 蜜乳av一区二区三区| 欧美日韩一区二区三区在线看| 亚洲精品伦理在线| 欧美三级日韩在线| 六月丁香婷婷色狠狠久久| 精品免费视频一区二区| 国产麻豆一精品一av一免费 | 精品综合免费视频观看| 制服视频三区第一页精品| 麻豆国产一区二区| 国产午夜精品一区二区三区视频 | 欧美日韩国产免费一区二区| 日韩电影在线观看电影| 久久久综合精品| aaa国产一区| 午夜激情久久久| xvideos.蜜桃一区二区| 国产**成人网毛片九色| 亚洲一区在线看| 日韩精品中午字幕| 9i在线看片成人免费| 夜夜爽夜夜爽精品视频| 欧美成人三级电影在线| av激情综合网| 美女国产一区二区三区| 亚洲国产经典视频| 欧美日韩免费在线视频| 国产精品综合在线视频| 亚洲欧美激情小说另类| 日韩欧美国产一二三区| 成人免费看黄yyy456| 亚洲高清视频在线| 国产欧美一区二区精品久导航| 日本国产一区二区| 国精品**一区二区三区在线蜜桃| 中文字幕制服丝袜一区二区三区| 欧美丝袜自拍制服另类| 国产激情一区二区三区桃花岛亚洲| 亚洲另类在线一区| 2021国产精品久久精品| 欧美色视频在线| 高清成人在线观看| 免费的国产精品| 樱花草国产18久久久久| 久久在线观看免费| 91麻豆精品国产91| 欧洲一区二区三区在线| av电影一区二区| 国产精品一区二区在线播放| 天天综合日日夜夜精品| 亚洲欧美韩国综合色| 国产欧美综合在线观看第十页| 欧美日韩国产乱码电影| 欧美主播一区二区三区美女| 成人短视频下载| 国产精品一区二区男女羞羞无遮挡 | 国产在线一区二区| 亚洲成人av电影在线| 中文字幕一区二区三区四区 | 欧美理论在线播放| 91九色02白丝porn| 99久久精品免费看国产| 国产精品系列在线观看| 国产在线观看免费一区| 日本欧美大码aⅴ在线播放| 亚洲成av人影院| 亚洲精品欧美综合四区| 国产欧美视频一区二区| 久久女同精品一区二区| 精品国产电影一区二区| 日韩女优av电影| 日韩一级免费一区| 欧美一级理论性理论a| 日韩一区二区三区四区| 91精品国产一区二区三区香蕉| 欧美在线观看视频在线| 欧洲精品在线观看| 在线观看国产一区二区| 欧美丝袜丝交足nylons图片| 欧美在线观看视频一区二区| 一本一道综合狠狠老| 91色在线porny| 色综合久久久久久久久| 日本二三区不卡| 欧美日韩中文字幕一区二区| 欧美伊人久久久久久久久影院 | 国产片一区二区| 中文久久乱码一区二区| 国产精品国产三级国产普通话99 | 久久99国产乱子伦精品免费| 日av在线不卡| 国内精品伊人久久久久影院对白| 男男视频亚洲欧美| 精品一区二区三区的国产在线播放| 奇米四色…亚洲| 国产成人精品三级| 99v久久综合狠狠综合久久| 91国偷自产一区二区三区观看 | 国产精品资源在线观看| 国产成人亚洲综合a∨婷婷图片 | 国产美女一区二区三区| 大美女一区二区三区| 99久久久久久99| 精品视频在线看| 日韩欧美激情在线| 国产精品午夜免费| 亚洲成av人片观看| 国产在线乱码一区二区三区| eeuss国产一区二区三区| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 欧美精选在线播放| 久久久91精品国产一区二区三区| 国产精品久久三| 日本免费新一区视频| 国产麻豆精品久久一二三| av电影在线观看完整版一区二区| 欧美日韩在线直播| 久久久美女艺术照精彩视频福利播放| 中文av字幕一区| 免费久久精品视频| 94色蜜桃网一区二区三区| 91精品国产综合久久蜜臀| 欧美国产综合色视频| 亚洲成在人线免费| 国产成人免费xxxxxxxx| 欧美日韩国产123区| 国产色产综合色产在线视频| 亚洲综合色自拍一区| 成人中文字幕合集| 日韩一区二区三区免费看| 国产精品视频yy9299一区| 日本人妖一区二区| 91日韩一区二区三区| 精品国产成人在线影院| 亚洲一区二区美女| 成人av综合一区| 精品免费国产二区三区 | 国产精品久久久久三级| 日韩av在线免费观看不卡| 95精品视频在线| 欧美国产一区二区在线观看| 久久不见久久见免费视频1| 欧美影视一区在线| ●精品国产综合乱码久久久久| 精品一区二区免费在线观看| 欧美日韩在线播放三区四区| 国产精品毛片大码女人| 国产精品亚洲第一区在线暖暖韩国| 欧美日韩一级视频| 亚洲精品欧美在线| 91浏览器打开| 国产精品看片你懂得| 国产成人亚洲综合色影视| xvideos.蜜桃一区二区| 免费不卡在线视频| 6080午夜不卡| 亚洲va天堂va国产va久| 欧洲精品一区二区三区在线观看| 亚洲欧美日韩电影| 色综合久久天天综合网| 一区二区三区资源| 91亚洲精品久久久蜜桃| 国产精品白丝在线| 99热精品国产| 亚洲欧洲综合另类在线| 91在线观看免费视频| 一区二区中文字幕在线| 99久久国产免费看| 亚洲人成亚洲人成在线观看图片| 成人18精品视频| 中文字幕综合网| 日本乱人伦一区| 亚洲一区二区三区激情| 欧美日韩电影在线播放| 日韩av中文字幕一区二区| 欧美成人bangbros| 狠狠色丁香婷婷综合| 久久久99精品久久| 不卡的av在线| 亚洲自拍欧美精品| 欧美精品日韩一本| 久久成人久久鬼色| 欧美国产精品一区二区| 99re免费视频精品全部| 伊人色综合久久天天| 欧美日韩一区二区三区在线看| 视频一区中文字幕国产| 欧美tickling挠脚心丨vk| 国产精品资源网| 国产精品麻豆99久久久久久| 91色视频在线| 奇米影视一区二区三区| 国产午夜精品久久久久久久 | 91香蕉视频在线| 亚洲第四色夜色| 久久亚洲精品国产精品紫薇| zzijzzij亚洲日本少妇熟睡| 亚洲福利电影网|