资源简介
通过本次实验,熟悉求解常微分方程初值问题的有关方法和理论,主要是欧拉法、改进欧拉法、四阶龙格库塔法,学会编制这两种方法的计算程序。体会这两种解法的功能、优缺点及适用场合。
解初值问题,并在屏幕上按适当的比例和位置画出坐标轴及解的函数曲线。
matlab7.0以上版本,图形界面,带实验报告
代码片段和文件信息
function varargout = changweifen(varargin)
% CHANGWEIFEN M-file for changweifen.fig
% CHANGWEIFEN by itself creates a new CHANGWEIFEN or raises the existing
% singleton*.
%
% H = CHANGWEIFEN returns the handle to a new CHANGWEIFEN or the handle to
% the existing singleton*.
%
% CHANGWEIFEN(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in CHANGWEIFEN.M with the given input arguments.
%
% CHANGWEIFEN(‘Property‘‘Value‘...) creates a new CHANGWEIFEN or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before changweifen_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to changweifen_OpeningFcn via varargin.
%
% *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 changweifen
% Last Modified by GUIDE v2.5 18-Nov-2008 16:43:34
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @changweifen_OpeningFcn ...
‘gui_OutputFcn‘ @changweifen_OutputFcn ...
‘gui_LayoutFcn‘ [] ...
‘gui_Callback‘ []);
if nargin & isstr(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if 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 changweifen is made visible.
function changweifen_OpeningFcn(hobject eventdata handles varargin)
% 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 command line arguments to changweifen (see VARARGIN)
% Choose default command line output for changweifen
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes changweifen wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = changweifen_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 structure
varargout{1} = handles.output;
function edit1_Callback(hobject eventdata handles)
% hOb
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5250 2008-12-08 16:47 实验三 常微分方程\changweifen.fig
文件 15014 2008-12-08 16:49 实验三 常微分方程\changweifen.m
目录 0 2008-12-11 20:04 实验三 常微分方程
文件 119587 2008-12-11 20:02 实验三 常微分方程\实验三 常微分方程.doc
----------- --------- ---------- ----- ----
139851 4
相关资源
- 计算方法 方程求根 二分法、牛顿法、
- 欧拉运动放大视频和代码
- 常微分方程组的四阶RungeKutta龙格库塔
- 各种潮流计算方法的matlab代码
- Var与CVaR计算方法matlab程序,完全能运
- AR模型参数估计、阶数确定准则,功率
- matlab四元数计算各个时刻的姿态数据
- adaptive-finite-element-methods 自适应网格有
- -Optimal-Power-Flow 首先介绍了辐射状配电
- faceface 系统有以下部分组成:电脑自
- 从旋转矩阵中求解欧拉角
- 常微分方程的解法MATLAB代码
- 计算方法课程设计数字图像匹配
- 二分法、牛顿迭代法、复合梯形公式
- MATLAB使用欧拉Euler法求解微分方程组
- MATLAB源程序代码分享:MATLAB实现改进
- MATLAB实现线性方程组迭代法求解 JGS
- 数值分析欧拉法、改进的欧拉法、4阶
- 四元数转欧拉角matlab
- 欧拉法与龙格库塔法解常微分方程
- 欧拉方法:欧拉方法:的matlab程序
评论
共有 条评论