资源简介
通过本次实验,熟悉求解常微分方程初值问题的有关方法和理论,主要是欧拉法、改进欧拉法、四阶龙格库塔法,学会编制这两种方法的计算程序。体会这两种解法的功能、优缺点及适用场合。
解初值问题,并在屏幕上按适当的比例和位置画出坐标轴及解的函数曲线。
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
相关资源
- 欧拉放大论文及matlab代码
- 电磁场计算方法与MATLAB实现
- 电力系统暂态稳定计算
- 数值计算方法习题精析黄云清
- 数值计算方法课后编程
- 《最优化计算方法及其MATLAB程序实现
- 数值计算方法与MATLAB应用
- 数值方法(MATLAB版)(第四版)中文
- 最小二乘 函数拟合 多项式 指数函数
- matlab中心差分 数值分析 常微分方程
- 常微分方程求解 初值问题 欧拉法 改
- 哈工大数值分析、计算方法matlab上机
- Matlab 常微分方程数值解法
- 前向欧拉法、后向欧拉法、梯形方法
- 基于matlab的配电网潮流计算方法研究
- Matlab的AIC和BIC的计算方法-关于AIC.do
- 欧拉法解常微分方程组数值解的MATL
- MATLAB 常微分方程
- matlab下利用romberg求积分近似值
- 计算方法matlab练习
- 四阶Runge-Kutta法解常微分方程组实验报
- matlab中运用二分法和割线法求方程的
- MATLAB源程序代码分享:MATLAB实现四阶
- 计算方法上机实验报告-matlab
- 一维激波管问题upwind格式matlab代码
- 数值计算方法 基于 MATLAB实现
- 计算方法上机实验试题
- Matlab常微分方程的解法
- 高斯-勒让德积分Gauss-legendre积分matl
- Numerical Methods with MATLAB(NMM1[1].5计算方
评论
共有 条评论