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

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

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

?? 神經網絡的源程序基于MATLAB系統分析與設計--神經網絡的源程序EX3001.M
?? TXT
?? 第 1 頁 / 共 5 頁
字號:
h1=axes('parent',h0,...
    'position',[0.10 0.45 0.8 0.5],...
    'visible','off');
x=0:0.2:2*pi;
y=sin(x);
plot(x,y)
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','拉格朗日插值',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[20 60 70 20],...
    'callback',[...
        'cla,',...
        'strn=get(e1,''string'');,',...
        'n=str2num(strn);,',...
        'i=1;,',...
        'x=0:0.2:2*pi;,',...
        'for t=0:0.2:2*pi,',...
        'y(i)=sin(t);,',...
        'L(i)=lag(t,n);,',...
        'i=i+1;,',...
        'end,',...
        'plot(x,y,''b*'',x,L,''r-''),',...
        'legend(''sin(x)'',''插值函數'');,',...
        'axis([0 7 -1.5 1.5])']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','誤差比較',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 60 70 20],...
    'callback',[...
        'strn=get(e1,''string'');,',...
        'n=str2num(strn);,',...
        'strm=get(e2,''string'');,',...
        'm=str2num(strm);,',...
        'dd=abs(sin(m)-lag(m,n));,',...
        'msgbox([''誤差為:'',num2str(dd)],''計算結果'')']);
e1=uicontrol('parent',h0,...
    'units','points',...
    'tag','e1',...
    'style','edit',...
    'fontsize',12,...
    'string','5',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[50 100 40 20]);
e2=uicontrol('parent',h0,...
    'units','points',...
    'tag','e2',...
    'style','edit',...
    'fontsize',12,...
    'string','1.20',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[200 100 40 20]);
t1=uicontrol('parent',h0,...
    'units','points',...
    'tag','t1',...
    'style','text',...
    'string','階數:',...
    'fontsize',12,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[20 100 30 20]);
t2=uicontrol('parent',h0,...
    'units','points',...
    'tag','t2',...
    'style','text',...
    'string','誤差點:',...
    'fontsize',12,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[160 100 40 20]);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'style','pushbutton',...
    'string','關閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 20 60 20],...
    'callback','close');
例86:三次樣條插值法

h0=figure('toolbar','none',...
    'position',[200 50 350 450],...
    'name','實例86');
h1=axes('parent',h0,...
    'position',[0.10 0.45 0.8 0.5],...
    'visible','off');
x=0:0.2:2*pi;
y=sin(x);
plot(x,y)
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','三次樣條插值',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[20 60 70 20],...
    'callback',[...
        'y=0,',...
        'sy=0,',...
        'strn1=get(e2,''string'');,',...
        'n1=str2num(strn1);,',...
        'strn2=get(e3,''string'');,',...
        'n2=str2num(strn2);,',...
        'x=n1:0.2:n2;,',...
        'i=1;,',...
        'for t=n1:0.2:n2,',...
        'y(i)=sin(t);,',...
        'sy(i)=san(t,n1,n2);,',...
        'i=i+1;,',...
        'end,',...
        'plot(x,y,''b*'',x,sy,''r-''),',...
        'axis([0 7 -1.5 1.5]),',...
        'legend(''sin(x)'',''N-Hermite插值'')']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','誤差比較',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 60 70 20],...
    'callback',[...
        'strdn1=get(e2,''string'');,',...
        'n1=str2num(strdn1);,',...
        'strdn2=get(e3,''string'');,',...
        'n2=str2num(strdn2);,',...
        'strdn=get(e1,''string'');,',...
        'dn=str2num(strdn);,',...
        'dd=abs(sin(dn)-san(dn,n1,n2));,',...
        'msgbox([''誤差為:'',num2str(dd)],''計算結果'')']);
e1=uicontrol('parent',h0,...
    'units','points',...
    'tag','e1',...
    'style','edit',...
    'fontsize',12,...
    'string','1.20',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[200 100 40 20]);
t1=uicontrol('parent',h0,...
    'units','points',...
    'tag','t1',...
    'style','text',...
    'string','誤差點:',...
    'fontsize',12,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[160 100 40 20]);
e2=uicontrol('parent',h0,...
    'units','points',...
    'tag','e2',...
    'style','edit',...
    'fontsize',12,...
    'string','1.00',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[20 85 40 20]);
t2=uicontrol('parent',h0,...
    'units','points',...
    'tag','t2',...
    'style','text',...
    'string','第一節點:',...
    'fontsize',12,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[15 105 50 20]);
e3=uicontrol('parent',h0,...
    'units','points',...
    'tag','e3',...
    'style','edit',...
    'fontsize',12,...
    'string','3.00',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[100 85 40 20]);
t3=uicontrol('parent',h0,...
    'units','points',...
    'tag','t3',...
    'style','text',...
    'string','第二節點:',...
    'fontsize',12,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[95 105 50 20]);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'style','pushbutton',...
    'string','關閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 20 60 20],...
    'callback','close');
實例87:NEWTON插值

h0=figure('toolbar','none',...
    'position',[200 50 350 450],...
    'name','實例87');
h1=axes('parent',h0,...
    'position',[0.10 0.45 0.8 0.5],...
    'visible','off');
x=0:0.2:2*pi;
y=sin(x);
plot(x,y)
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','牛頓插值',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[20 60 70 20],...
    'callback',[...
        'strn=get(e1,''string'');,',...
        'n=str2num(strn);,',...
        'x=0:0.2:2*pi;,',...
        'i=1;,',...
        'for t=0:0.2:2*pi,',...
        'y(i)=sin(t);,',...
        'ynt(i)=newton(t,n);,',...
        'i=i+1;,',...
        'end,',...
        'plot(x,y,''b*'',x,ynt,''r-''),',...
        'axis([0 7 -1.5 1.5]),',...
        'legend(''sin(x)'',''牛頓插值'')']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','誤差比較',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 60 70 20],...
    'callback',[...
        'strn=get(e1,''string'');,',...
        'n=str2num(strn);,',...
        'strdn=get(e2,''string'');,',...
        'dn=str2num(strdn);,',...
        'dd=abs(sin(dn)-newton(dn,n));,',...
        'msgbox([''誤差為:'',num2str(dd)],''計算結果'')']);
e1=uicontrol('parent',h0,...
    'units','points',...
    'tag','e1',...
    'style','edit',...
    'fontsize',12,...
    'string','5',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[50 100 40 20]);
e2=uicontrol('parent',h0,...
    'units','points',...
    'tag','e2',...
    'style','edit',...
    'fontsize',12,...
    'string','1.20',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[200 100 40 20]);
t1=uicontrol('parent',h0,...
    'units','points',...
    'tag','t1',...
    'style','text',...
    'string','節點數:(<6)',...
    'fontsize',12,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[10 100 40 30]);
t2=uicontrol('parent',h0,...
    'units','points',...
    'tag','t2',...
    'style','text',...
    'string','誤差點:',...
    'fontsize',12,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[160 100 40 20]);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'style','pushbutton',...
    'string','關閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 20 60 20],...
    'callback','close');
實例88:hermite插值

h0=figure('toolbar','none',...
    'position',[200 50 350 450],...
    'name','實例88');
h1=axes('parent',h0,...
    'position',[0.10 0.45 0.8 0.5],...
    'visible','off');
x=0:0.2:2*pi;
y=sin(x);
plot(x,y)
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','Hermite插值',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[20 60 70 20],...
    'callback',[...
        'strn1=get(e2,''string'');,',...
        'n1=str2num(strn1);,',...
        'strn2=get(e3,''string'');,',...
        'n2=str2num(strn2);,',...
        'x=0:0.2:2*pi;,',...
        'i=1;,',...
        'for t=0:0.2:2*pi,',...
        'y(i)=sin(t);,',...
        'ynt(i)=hermite(t,n1,n2);,',...
        'i=i+1;,',...
        'end,',...
        'plot(x,y,''b*'',x,ynt,''r-''),',...
        'axis([0 7 -1.5 1.5]),',...
        'legend(''sin(x)'',''Hermite插值'')']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','誤差比較',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 60 70 20],...
    'callback',[...
        'strn1=get(e2,''string'');,',...
        'n1=str2num(strn1);,',...
        'strn2=get(e3,''string'');,',...
        'n2=str2num(strn2);,',...
        'dn=str2num(strdn);,',...
        'dd=abs(sin(dn)-hermite(dn,n1,n2));,',...
        'msgbox([''誤差為:'',num2str(dd)],''計算結果'')']);
e1=uicontrol('parent',h0,...
    'units','points',...
    'tag','e1',...
    'style','edit',...
    'fontsize',12,...
    'string','1.20',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[200 100 40 20]);
t1=uicontrol('parent',h0,...
    'units','points',...
    'tag','t1',...
    'style','text',...
    'string','誤差點:',...
    'fontsize',12,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[160 100 40 20]);
e2=uicontrol('parent',h0,...
    'units','points',...
    'tag','e2',...
    'style','edit',...
    'fontsize',12,...
    'string','1.00',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[20 85 40 20]);
t2=uicontrol('parent',h0,...
    'units','points',...
    'tag','t2',...
    'style','text',...
    'string','第一節點:',...
    'fontsize',12,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[15 105 50 20]);
e3=uicontrol('parent',h0,...
    'units','points',...
    'tag','e3',...
    'style','edit',...
    'fontsize',12,...
    'string','3.00',...
    'horizontalalignment','right',...
    'backgroundcolor',[1 1 1],...
    'position',[100 85 40 20]);
t3=uicontrol('parent',h0,...
    'units','points',...
    'tag','t3',...
    'style','text',...
    'string','第二節點:',...
    'fontsize',12,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[95 105 50 20]);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'style','pushbutton',...
    'string','關閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 20 60 20],...
    'callback','close');
實例89:mewton形式的hermite插值

h0=figure('toolbar','none',...
    'position',[200 50 350 450],...
    'name','實例89');
h1=axes('parent',h0,...
    'position',[0.10 0.45 0.8 0.5],...
    'visible','off');
x=0:0.2:2*pi;
y=sin(x);
plot(x,y)
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','N-Hermite插值',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[20 60 70 20],...
    'callback',[...
        'strn1=get(e2,''string'');,',...
        'n1=str2num(strn1);,',...
        'strn2=get(e3,''string'');,',...
        'n2=str2num(strn2);,',...
        'x=0:0.2:2*pi;,',...
        'i=1;,',...
        'for t=0:0.2:2*pi,',...
        'y(i)=sin(t);,',...
        'ynh(i)=nhermite(t,n1,n2);,',...
        'i=i+1;,',...
        'end,',...
        'plot(x,y,''b*'',x,ynh,''r-''),',...
        'axis([0 7 -1.5 1.5]),',...
        'legend(''sin(x)'',''N-Hermite插值'')']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','誤差比較',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 60 70 20],...
    'callback',[...
        'strdn1=get(e2,''string'');,',...
        'n1=str2num(strdn1);,',...
        'strdn2=get(e3,''string'');,',...
        'n2=str2num(strdn2);,',...
        'strdn=get(e1,''string'');,',...

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩国产精品大片| 欧美精选一区二区| 欧美精品电影在线播放| 国产欧美一区二区精品性色| 亚洲一区在线观看免费观看电影高清| 国产在线一区观看| 欧美精品高清视频| 亚洲精品国产无天堂网2021 | 欧美美女黄视频| 中文字幕精品在线不卡| 加勒比av一区二区| 欧美丰满少妇xxxxx高潮对白| 综合激情网...| 国产**成人网毛片九色| 欧美成人欧美edvon| 婷婷六月综合网| 欧美日韩综合色| 亚洲自拍偷拍九九九| 91在线观看免费视频| 国产欧美va欧美不卡在线| 激情都市一区二区| 日韩精品一区二区三区在线观看| 一区二区三区四区av| 色综合久久久久综合体| 国产精品高潮呻吟久久| 国产精品99久久不卡二区| 欧美刺激午夜性久久久久久久| 五月天久久比比资源色| 欧美老肥妇做.爰bbww| 亚洲制服丝袜一区| 欧美三片在线视频观看| 亚洲自拍偷拍欧美| 欧美人体做爰大胆视频| 午夜欧美大尺度福利影院在线看| 欧美亚洲自拍偷拍| 亚洲国产精品麻豆| 6080日韩午夜伦伦午夜伦| 午夜视频一区在线观看| 在线综合+亚洲+欧美中文字幕| 日韩精品亚洲专区| 精品国产伦一区二区三区观看方式| 久久国产成人午夜av影院| 欧美大片日本大片免费观看| 国产乱码一区二区三区| 国产精品三级电影| 一本大道久久a久久精品综合| 亚洲精品伦理在线| 欧美日韩国产综合一区二区| 日本不卡一二三区黄网| 久久综合九色综合97_久久久| 国产一区二区三区香蕉| 亚洲欧洲日产国产综合网| 在线视频你懂得一区| 亚洲123区在线观看| 日韩欧美一级二级三级| 国产毛片精品视频| 国产精品国产三级国产a| 欧美日韩色综合| 久久se这里有精品| 亚洲欧美一区二区三区久本道91| 欧美人妇做爰xxxⅹ性高电影| 久久国产人妖系列| 亚洲欧美视频在线观看| 欧美一区二区三区免费大片 | 欧美系列亚洲系列| 另类小说一区二区三区| √…a在线天堂一区| 欧美人成免费网站| 成人免费视频视频| 婷婷六月综合网| 欧美激情综合在线| 欧美精品日日鲁夜夜添| 成人免费电影视频| 日本成人在线一区| **性色生活片久久毛片| 欧美一区二区三区四区五区| 99热精品国产| 精品无人码麻豆乱码1区2区| 亚洲精品精品亚洲| 国产亚洲欧美色| 欧美精品久久久久久久多人混战 | 国产精品一区一区三区| 亚洲一区在线观看免费| 中文字幕免费不卡在线| 日韩欧美一卡二卡| 色88888久久久久久影院按摩| 精品制服美女久久| 午夜免费久久看| 中文字幕佐山爱一区二区免费| 精品久久久久久久久久久院品网| 欧美一a一片一级一片| 成人免费黄色在线| 国产在线看一区| 日本不卡一二三| 亚洲综合999| 亚洲精品自拍动漫在线| 国产精品久久久久久久久果冻传媒| 精品国产乱码久久久久久夜甘婷婷 | 欧美韩国一区二区| 欧美成人a∨高清免费观看| 欧美天堂一区二区三区| 色婷婷国产精品| 99久久精品国产精品久久| 高清国产午夜精品久久久久久| 蜜桃免费网站一区二区三区| 午夜免费欧美电影| 午夜不卡在线视频| 午夜精品影院在线观看| 亚洲国产wwwccc36天堂| 伊人婷婷欧美激情| 亚洲自拍偷拍九九九| 一卡二卡三卡日韩欧美| 亚洲免费资源在线播放| 亚洲美女电影在线| 亚洲欧美韩国综合色| 亚洲欧美视频在线观看视频| 亚洲视频一区二区免费在线观看| 最新日韩av在线| 亚洲精品国产无天堂网2021| 亚洲最色的网站| 午夜精品久久久| 美女一区二区视频| 美女脱光内衣内裤视频久久网站 | 99综合影院在线| www.欧美.com| 91久久精品国产91性色tv| 91福利在线导航| 欧美三级电影在线看| 91精品国模一区二区三区| 日韩精品一区二区三区四区视频| 精品91自产拍在线观看一区| 久久精品亚洲国产奇米99| 欧美国产激情一区二区三区蜜月| 亚洲欧美一区二区视频| 亚洲亚洲人成综合网络| 免费成人av资源网| 国产suv精品一区二区883| 91老司机福利 在线| 欧美精品 国产精品| 久久久蜜臀国产一区二区| 国产精品美女久久久久久久网站| 亚洲一区二区视频在线观看| 美女www一区二区| 不卡高清视频专区| 欧美日韩综合不卡| 久久精品无码一区二区三区| 亚洲美女电影在线| 久久99这里只有精品| www.激情成人| 欧美精品免费视频| 欧美国产日韩一二三区| 午夜久久久影院| 国产91精品一区二区麻豆亚洲| 色婷婷精品大在线视频 | 久久精品国产第一区二区三区| 国产a级毛片一区| 欧美中文字幕一二三区视频| 精品欧美久久久| 亚洲精品一二三四区| 激情欧美一区二区| 欧美日韩视频一区二区| 中文字幕精品一区二区三区精品| 五月综合激情网| 99热99精品| 精品久久一区二区三区| 亚洲图片一区二区| 国产成人av电影免费在线观看| 欧美三级视频在线| 日本一区二区久久| 麻豆精品久久久| 欧美天堂一区二区三区| 亚洲国产精品黑人久久久| 奇米影视在线99精品| 91一区一区三区| 欧美韩国日本综合| 国产一区二区三区久久悠悠色av| 欧美天堂亚洲电影院在线播放| 国产精品每日更新在线播放网址| 男女男精品视频网| 欧美日韩黄视频| 亚洲男人的天堂av| 日韩欧美在线网站| 亚洲综合色噜噜狠狠| 91麻豆蜜桃一区二区三区| 欧美激情中文字幕一区二区| 精品中文字幕一区二区| 51久久夜色精品国产麻豆| 亚洲一区中文日韩| 日本韩国精品在线| 亚洲日本在线视频观看| 成人国产精品免费观看动漫| 久久综合av免费| 韩国午夜理伦三级不卡影院| 日韩一区二区免费高清| 日本不卡视频在线| 日韩一区二区三区观看| 日韩不卡手机在线v区| 日韩一区二区精品葵司在线| 免费一区二区视频| 欧美大尺度电影在线|