代码搜索:MATLAB
找到约 10,000 项符合「MATLAB」的源代码
代码结果 10,000
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
www.eeworm.com/read/470453/6910970
m myditfft.m
function y=myditfft(x)
%《数字信号处理教程——MATLAB释义与实现》
% 用MATLAB语言编写的基2 DIT FFT子程序
% 电子工业出版社出版 陈怀琛编著 2004年9月
%
% y=myditfft(x)
% ------------------------------------------------------------
% 本程序对输入序
www.eeworm.com/read/470453/6911021
m fgp832.m
%《数字信号处理教程——MATLAB释义与实现》第八章图8.3.2生成程序fgp832
% s平面到z平面的指数变换映射
% 电子工业出版社出版 陈怀琛编著 2004年9月
%
a=[-2:0.1:0]; % 设定实部分度
b=[-3:0.2:3]; % 设定虚部分度
[X,Y]=meshgrid(a,b); %
www.eeworm.com/read/469416/6976516
txt~ readme.txt~
Hidden Markov Model (HMM) Toolbox written by Kevin Murphy (1998).
See http://www.ai.mit.edu/~murphyk/Software/hmm.html for details.
Installation
------------
1. Install netlab from http://www.ncrg.a
www.eeworm.com/read/467950/6997152
readme
Blobdetect 1.3b
This is blobdetect-1.3b, an API for extracting blob features from
RGB images. The algorithm for blob feature extraction is described
in the thesis "Channel Representations for Low and