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

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

?? dblquadgui.m

?? 數值分析程序中的一個例子
?? M
字號:
function varargout = dblquadGUI(varargin)%DBLQUADGUI M-file for dblquadGUI.fig%      DBLQUADGUI, by itself, creates a new DBLQUADGUI or raises the existing%      singleton*.%%      H = DBLQUADGUI returns the handle to a new DBLQUADGUI or the handle to%      the existing singleton*.%%      DBLQUADGUI('Property','Value',...) creates a new DBLQUADGUI using the%      given property value pairs. Unrecognized properties are passed via%      varargin to dblquadGUI_OpeningFcn.  This calling syntax produces a%      warning when there is an existing singleton*.%%      DBLQUADGUI('CALLBACK') and DBLQUADGUI('CALLBACK',hObject,...) call the%      local function named CALLBACK in DBLQUADGUI.M with the given input%      arguments.%%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one%      instance to run (singleton)".%% See also: GUIDE, GUIDATA, GUIHANDLES% Edit the above text to modify the response to help dblquadGUI% Last Modified by GUIDE v2.5 06-Nov-2005 16:34:55% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name',       mfilename, ...                   'gui_Singleton',  gui_Singleton, ...                   'gui_OpeningFcn', @dblquadGUI_OpeningFcn, ...                   'gui_OutputFcn',  @dblquadGUI_OutputFcn, ...                   'gui_LayoutFcn',  [], ...                   'gui_Callback',   []);if nargin && ischar(varargin{1})   gui_State.gui_Callback = str2func(varargin{1});endif nargout    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});else    gui_mainfcn(gui_State, varargin{:});end% End initialization code - DO NOT EDIT% --- Executes just before dblquadGUI is made visible.function dblquadGUI_OpeningFcn(hObject, eventdata, handles, varargin)set(handles.fcn,'string','tan(x.^2+y.^2)');set(handles.a,'string','0');set(handles.b,'string','pi/3');set(handles.c,'string','0');set(handles.d,'string','pi/6');set(handles.eps,'string','0.5*1e-9');% This function has no output args, see OutputFcn.% hObject    handle to figure% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% varargin   unrecognized PropertyName/PropertyValue pairs from the%            command line (see VARARGIN)% Choose default command line output for dblquadGUIhandles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes dblquadGUI wait for user response (see UIRESUME)% uiwait(handles.figure1);% --- Outputs from this function are returned to the command line.function varargout = dblquadGUI_OutputFcn(hObject, eventdata, handles)% varargout  cell array for returning output args (see VARARGOUT);% hObject    handle to figure% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Get default command line output from handles structurevarargout{1} = handles.output;function fcn_Callback(hObject, eventdata, handles)fcn=get(handles.fcn,'string');set(handles.fcn,'string',fcn);% hObject    handle to fcn (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of fcn as text%        str2double(get(hObject,'String')) returns contents of fcn as a double% --- Executes during object creation, after setting all properties.function fcn_CreateFcn(hObject, eventdata, handles)% hObject    handle to fcn (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction INV_fcn_Callback(hObject, eventdata, handles)% hObject    handle to INV_fcn (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of INV_fcn as text%        str2double(get(hObject,'String')) returns contents of INV_fcn as a double% --- Executes during object creation, after setting all properties.function INV_fcn_CreateFcn(hObject, eventdata, handles)% hObject    handle to INV_fcn (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');end% --- Executes on button press in Cal.function Cal_Callback(hObject, eventdata, handles)format longfcn=get(handles.fcn,'string');a=str2num(get(handles.a,'string'));b=str2num(get(handles.b,'string'));c=str2num(get(handles.c,'string'));d=str2num(get(handles.d,'string'));eps=str2num(get(handles.eps,'string'));tic;I=dblquad(fcn,a,b,c,d,'quad8');toc;handles.I=I;set(handles.INV_fcn,'string',num2str(I,10));set(handles.CT,'string',num2str(toc));guidata(hObject,handles);% hObject    handle to Cal (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% --- Executes during object creation, after setting all properties.function a_CreateFcn(hObject, eventdata, handles)% hObject    handle to a (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction c_Callback(hObject, eventdata, handles) c= get(gcbo,'String'); set(handles.c,'string',c); % hObject    handle to c (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of c as text%        str2double(get(hObject,'String')) returns contents of c as a double% --- Executes during object creation, after setting all properties.function c_CreateFcn(hObject, eventdata, handles)% hObject    handle to c (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');end% --- Executes during object creation, after setting all properties.function b_CreateFcn(hObject, eventdata, handles)% hObject    handle to b (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');end% --- Executes during object creation, after setting all properties.function d_CreateFcn(hObject, eventdata, handles)% hObject    handle to d (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');end% --- Executes during object creation, after setting all properties.function CT_CreateFcn(hObject, eventdata, handles)% hObject    handle to CT (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');end% --- Executes on button press in Closef.function Closef_Callback(hObject, eventdata, handles)close;% hObject    handle to Closef (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)function [I2 i]=MultipleIntegral(fcn,a,b,c,d,m0,n0,eps);i=0;I1=0;I2=0;fxy=inline(fcn,'x','y');while(i==0|abs(I2-I1)>eps)    m=m0*2^i;    n=n0*2^i;    h=(b-a)/m;    k=(d-c)/n;    x=a:h:b;    y=c:k:d;    X=zeros(m,1);    Y=zeros(n,1);    for p=1:m        X(p,1)=(x(p)+x(p+1))/2;    end    for q=1:n        Y(q,1)=(y(q)+y(q+1))/2;    end     S=zeros(m,n);    for p=1:m        for q=1:n             S(p,q)=h*k/4*(fxy(x(p),y(q))+fxy(x(p),y(q+1))...             +fxy(x(p+1),y(q))+fxy(x(p+1),y(q+1)));        end    end    TMN=sum(sum(S));    S=zeros(m,1);    for p=1:m        S(p,1)=fxy(X(p,1),y(1))+fxy(X(p,1),y(n+1));    end    T2MN=1/4*TMN+h*k/8*sum(sum(S));    S=zeros(n,1);    for q=1:n         S(q,1)=fxy(x(1),Y(q,1))+fxy(x(m+1),Y(q,1));    end    T2MN=T2MN++h*k/8*sum(sum(S));    S=zeros(m,n-1);    for p=1:m        for q=2:n            S(p,q-1)=fxy(X(p),y(q));        end    end    T2MN=T2MN+h*k/4*sum(sum(S));     S=zeros(m-1,n);    for p=2:m        for q=1:n            S(p-1,q)=fxy(x(p),Y(q));        end    end    T2MN=T2MN+h*k/4*sum(sum(S));    S=zeros(m,n);    for p=1:m        for q=1:n            S(p,q)=fxy(X(p),Y(q));        end    end    T2MN=T2MN+h*k/4*sum(sum(S));    i=i+1;    I1=I2;    I2=4/3*T2MN-TMN/3;    clear x y X Y S;end function a_Callback(hObject, eventdata, handles) a= get(gcbo,'String'); set(handles.a,'string',a); % hObject    handle to a (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of a as text%        str2double(get(hObject,'String')) returns contents of a as a doublefunction b_Callback(hObject, eventdata, handles) b= get(gcbo,'String'); set(handles.b,'string',b); % hObject    handle to b (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of b as text%        str2double(get(hObject,'String')) returns contents of b as a doublefunction d_Callback(hObject, eventdata, handles) d= get(gcbo,'String'); set(handles.d,'string',d); % hObject    handle to d (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of d as text%        str2double(get(hObject,'String')) returns contents of d as a doublefunction eps_Callback(hObject, eventdata, handles) eps= get(gcbo,'String'); set(handles.eps,'string',eps); % hObject    handle to eps (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of eps as text%        str2double(get(hObject,'String')) returns contents of eps as a double% --- Executes during object creation, after setting all properties.function eps_CreateFcn(hObject, eventdata, handles)% hObject    handle to eps (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction CT_Callback(hObject, eventdata, handles)% hObject    handle to CT (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of CT as text%        str2double(get(hObject,'String')) returns contents of CT as a double

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美一区在线| 91亚洲国产成人精品一区二区三| 91成人在线免费观看| 国产色一区二区| 国产精品综合网| 精品sm在线观看| 国产美女在线观看一区| 日韩欧美一级二级三级久久久| 人人狠狠综合久久亚洲| 这里只有精品99re| 老色鬼精品视频在线观看播放| 欧美亚日韩国产aⅴ精品中极品| 中文字幕中文字幕在线一区| av在线免费不卡| 亚洲久草在线视频| 欧美性生活一区| 日本aⅴ亚洲精品中文乱码| 欧美一级xxx| 国产福利精品导航| 亚洲精品一二三四区| 欧美日韩美女一区二区| 久久精品国产**网站演员| 久久久精品国产免大香伊 | 日韩在线一区二区| xvideos.蜜桃一区二区| proumb性欧美在线观看| 一区二区三区精品在线观看| 欧美一级免费大片| 从欧美一区二区三区| 亚洲精品视频观看| 日韩欧美一级精品久久| proumb性欧美在线观看| 丝袜亚洲另类欧美综合| 国产精品丝袜在线| 欧美一区二区三区影视| 本田岬高潮一区二区三区| 日韩高清在线观看| 亚洲天堂免费看| 久久青草国产手机看片福利盒子 | 成人福利视频在线| 青娱乐精品在线视频| 中文字幕一区二区三区精华液| 欧美日韩免费电影| av资源站一区| 黑人巨大精品欧美黑白配亚洲| 亚洲美女在线国产| 中文字幕乱码日本亚洲一区二区 | 亚洲第一av色| 亚洲人精品午夜| 久久久久久免费网| 日韩一区二区三区四区五区六区| 91美女福利视频| 91一区二区三区在线观看| 成人激情黄色小说| 丰满少妇在线播放bd日韩电影| 精久久久久久久久久久| 免费观看久久久4p| 尤物在线观看一区| 欧美亚洲综合色| 91亚洲精华国产精华精华液| 国产91精品露脸国语对白| 久久激五月天综合精品| 蜜臀av一区二区| 日本亚洲欧美天堂免费| 日韩黄色免费电影| 日本成人在线网站| 久久不见久久见免费视频7| 日韩av一级电影| 紧缚捆绑精品一区二区| 国产乱人伦精品一区二区在线观看| 免费人成网站在线观看欧美高清| 亚洲电影激情视频网站| 日韩极品在线观看| 激情文学综合丁香| 丰满白嫩尤物一区二区| 色综合久久中文综合久久牛| 91丨porny丨在线| 91看片淫黄大片一级在线观看| 99热国产精品| 欧美日韩精品一二三区| 日韩免费一区二区| 国产精品青草久久| 亚洲成人一区二区在线观看| 蜜桃视频一区二区三区| 粉嫩欧美一区二区三区高清影视| 成人一区二区三区中文字幕| 日本高清不卡在线观看| 欧美一区二区三区播放老司机| 2020国产成人综合网| 最好看的中文字幕久久| 亚洲18女电影在线观看| 国产麻豆一精品一av一免费| 91久久久免费一区二区| 日韩一级欧美一级| 亚洲一区自拍偷拍| 国产成人一区二区精品非洲| 欧美日韩视频第一区| 久久久噜噜噜久久人人看 | 成人爱爱电影网址| 91精品国产色综合久久不卡电影 | 国产露脸91国语对白| 日本乱人伦aⅴ精品| 国产蜜臀av在线一区二区三区| 亚洲国产综合人成综合网站| 成人avav在线| 久久久精品tv| 韩国一区二区三区| 色丁香久综合在线久综合在线观看| 欧美刺激脚交jootjob| 一区二区三区在线视频免费观看| 国产福利一区二区三区| 欧美一级片免费看| 日韩av在线播放中文字幕| 91久久精品午夜一区二区| 国产亚洲婷婷免费| 国产一区二区三区精品欧美日韩一区二区三区 | 国产在线精品一区二区| 欧美偷拍一区二区| 国产专区综合网| 欧美日韩在线播放三区四区| 亚洲欧美偷拍三级| 懂色中文一区二区在线播放| 久久亚洲一区二区三区四区| 首页国产丝袜综合| 欧美日韩亚洲综合在线| 亚洲欧美激情视频在线观看一区二区三区 | 精品中文字幕一区二区| 欧美精品日韩综合在线| 亚洲成人高清在线| 欧美性欧美巨大黑白大战| 亚洲美女在线一区| 色吊一区二区三区| 一区二区日韩电影| 欧美精品久久一区二区三区| 亚洲成人av福利| 日韩欧美电影在线| 国产成人综合在线观看| 久久久精品国产免费观看同学| 国产传媒久久文化传媒| 国产精品二区一区二区aⅴ污介绍| a在线欧美一区| 亚洲精品视频在线看| 欧美日韩亚洲丝袜制服| 日本欧美在线观看| 精品国产乱码久久| 99久久精品99国产精品| 亚洲一级片在线观看| 亚洲婷婷综合久久一本伊一区| 风间由美一区二区av101| 亚洲激情第一区| 91精品麻豆日日躁夜夜躁| 国产成人无遮挡在线视频| 一区二区日韩电影| 久久久久久久综合狠狠综合| 91麻豆自制传媒国产之光| 男女视频一区二区| 樱花草国产18久久久久| 欧美日韩国产经典色站一区二区三区| 免费不卡在线视频| 洋洋成人永久网站入口| 精品久久国产老人久久综合| 色美美综合视频| 黄页视频在线91| 日本欧美大码aⅴ在线播放| 欧美激情在线观看视频免费| 在线播放/欧美激情| 欧美日韩成人一区二区| 国产精品一区二区黑丝| 蜜臀av一区二区三区| 亚洲精选一二三| 国产亚洲综合性久久久影院| 欧美一区二区三区播放老司机| 99视频一区二区| 99视频超级精品| 国产成人在线影院| 国产美女精品在线| 日本不卡一区二区三区| 亚洲亚洲精品在线观看| 中文字幕一区二区三中文字幕| 久久综合九色综合欧美亚洲| 欧美在线小视频| 色综合网站在线| 91美女精品福利| 在线观看一区二区视频| 日本二三区不卡| 精品视频123区在线观看| 91视频com| 在线免费观看日本欧美| 精品国产一区二区国模嫣然| 一区二区三区在线视频播放| 91国产精品成人| 成人黄色大片在线观看| 日韩电影在线一区| 亚洲一区二区三区小说| 欧美日本一区二区在线观看| 久久久亚洲高清| 国产亚洲精久久久久久| 亚洲自拍另类综合| 亚洲免费观看高清完整版在线观看熊 | 欧美日韩三级在线|