教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 法律文档 >

信息处理与仿真实验(6)

来源:网络收集 时间:2026-09-04
导读: 4. 著名的Lorenz模型的状态方程为 ?1(t)???x1(t)?x2(t)x3(t)?x??2(t)???x2(t)??x3(t)x? ?x??3(t)??x1(t)x2(t)??x2(t)?x3(t)初值x1(0)=x2(0)=x3(0)=1e-10,利用Simulink建立并封装子系统来求解该方程组,子系

4. 著名的Lorenz模型的状态方程为

?1(t)???x1(t)?x2(t)x3(t)?x??2(t)???x2(t)??x3(t)x? ?x??3(t)??x1(t)x2(t)??x2(t)?x3(t)初值x1(0)=x2(0)=x3(0)=1e-10,利用Simulink建立并封装子系统来求解该方程组,子系统为y?ax1(t)?bx2(t)。考察参数分别为σ=10,β=8/3,ρ=28,以及σ=1,β=2,ρ=1时系统的状态,绘制出时间曲线和相空间曲线(时间从0到100)。

(注:这里相空间曲线即为将X1(t)、X2(t)、X3(t)分别作为x,y,z轴坐标画在一个三维坐标系中plot3)

26

3020100-10-20-3020100-10-2001020304050

实验六 图像处理GUIDE设计

一.实验目的

1了解开发GUI的不同方法 2初步掌握GUI的向导生成方案

3基本掌握句柄的获取方法以及界面图形中数据的保存 二.实验类型 综合型

三.实验内容:

用GUI创建界面,制作一简单图像处理系统,通过界面中的工具完成功能: 1. 基本原理是将多幅的图象叠加求平均达到去除噪声的目的。 2. 打开并显示任意路径的图像文件(uigetfile,imread)。

3. 通过add noise按钮在导入图像中加入方差为0.1高斯噪声,(imnoise,randn)。 4. 利用可编辑文本框输入要叠加平均的加噪图象的幅数。

27

5. 通过denoise按钮执行平均去噪。注意随着图象幅数的增加,观察去噪的效果。 6. 显示去噪前后的图像和差图象

28

function varargout = untitled1(varargin) % UNTITLED1 M-file for untitled1.fig

% UNTITLED1, by itself, creates a new UNTITLED1 or raises the existing % singleton*. %

% H = UNTITLED1 returns the handle to a new UNTITLED1 or the handle to % the existing singleton*. %

% UNTITLED1('CALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in UNTITLED1.M with the given input arguments. %

% UNTITLED1('Property','Value',...) creates a new UNTITLED1 or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before untitled1_OpeningFcn gets called. An

% unrecognized property name or invalid value makes property application % stop. All inputs are passed to untitled1_OpeningFcn via varargin. %

% *See GUI Options on GUIDE's Tools menu. Choose \ % instance to run (singleton)\ %

% See also: GUIDE, GUIDATA, GUIHANDLES

29

% Edit the above text to modify the response to help untitled1

% Last Modified by GUIDE v2.5 27-Aug-2014 10:34:21

% Begin initialization code - DO NOT EDIT gui_Singleton = 1;

gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ...

'gui_OpeningFcn', @untitled1_OpeningFcn, ... 'gui_OutputFcn', @untitled1_OutputFcn, ... 'gui_LayoutFcn', [] , ... 'gui_Callback', []); if nargin && ischar(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 untitled1 is made visible.

function untitled1_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 untitled1 (see VARARGIN)

% Choose default command line output for untitled1 handles.output = hObject;

% Update handles structure guidata(hObject, handles); clear all

% UIWAIT makes untitled1 wait for user response (see UIRESUME) % uiwait(handles.figure1);

% --- Outputs from this function are returned to the command line.

30

…… 此处隐藏:957字,全部文档内容请下载后查看。喜欢就下载吧 ……
信息处理与仿真实验(6).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/436041.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)