代码搜索:Matlab仿真
找到约 10,000 项符合「Matlab仿真」的源代码
代码结果 10,000
www.eeworm.com/read/272953/10935571
m exn911.m
%《MATLAB及其在理工课程中的应用指南》(十一五规划版)第九章例9-1-1程序
% 连续信号的MATLAB表述
% 西安电子科技大学出版社出版 陈怀琛编著 2007年7月
%
clear, t0=0;tf=5;dt=0.05;t1=1; t=[t0:dt:tf];
% (1)单位脉冲信号,
% 在t1(t0≤t1≤tf)处有一持续时间为dt,面积为1的脉冲信号,其余时间均为零。
www.eeworm.com/read/272953/10935790
m exn546.m
%《MATLAB及其在理工课程中的应用指南》(十一五规划版)第五章例5-4-6程序
% 三重积分
% 西安电子科技大学出版社出版 陈怀琛编著 2007年7月
%
clear, close all
dx=0.01;dy=dx;dz=dx;x=0:dx:1;
for k=1:length(x)
x1=(k-1)*dx;
y=0:dy:x1;
for j=1:len
www.eeworm.com/read/418157/10963727
txt readme.txt
SD Toolbox Version 2.0
To install add the directory SDtoolbox and all its subdirectories to the MATLAB Path.
Type SDtoolbox to start.
www.eeworm.com/read/417694/10980244
doc mpgread.doc
MPGREAD
Purpose
Translate a movie file in MPEG format into a Matlab movie matrix.
Synopsis
[movie, map] = mpgread('filename', frames)
Matrix movie;
Matrix map;
String filename;
Vector fr
www.eeworm.com/read/271693/10983546
m cfigure.m
% create a figure, with fixed size
% use it similar as figure function
function h=cfigure(k,width,height)
if nargin ==0,
k = 1;
end
if nargin
www.eeworm.com/read/271693/10983664
m factorial.m
function p = factorial(n)
%FACTORIAL Factorial function.
% Does the same as the matlab factorial function. This one is added for those
% who do not have it in their matlab installation.
if (le
www.eeworm.com/read/417350/10993209
txt 08-06.txt
%例8-6 给MATLAB 7的图形添加标题。
>> x = 0:.1:2;
>>y1=sin(x);
>>y2 = sin(x-0.25);
>>y3 = sin(x-0.5);
>> plot(x,y1,'-.b', x,y2,'--r*', x,y3,'-.gh')
>> title('There three lines')
>>
www.eeworm.com/read/417350/10993547
txt 10-41.txt
%例10-41 运行错误的处理。
%编制M文件如下。
function d=yunxingcuowu(a,b,c)
d=a/b;
if isinf(d) %对可能产生的inf值做出判断
sprintf('b should not be 0')
return
else
d=d*c;
end
%为了检验该程序,
www.eeworm.com/read/271157/11005201
m p0312.m
I=imread('blood1.tif');
imshow(I);
f=double(I); % 数据类型转换,MATLAB不支持图像的无符号整型的计算
g=fft2(f); % 傅立叶变换
g=fftshift(g); % 转换数据矩阵
[M,N]=size(g);
nn=2; % 二阶巴特沃斯(Butterworth)高通滤波器
www.eeworm.com/read/470453/6910921
m hc721.m
%《数字信号处理教程——MATLAB释义与实现》第七章例7.2.1程序hc721
% 幅频特性与符幅特性的区别
% 电子工业出版社出版 陈怀琛编著 2004年9月
%
clear
b=[-1,2,4,2,-1];a=1; % 给定滤波器系数向量
[H,w]=freqz(b,a); % 求频率特性
subplot(2,2,1),p