-
Introduction_Scientific_Computing
关于matlab 的书,好赖看看就知道了(Introduction
to
Scientific Computing
A Matrix- Vector Approach Using matlab)
- 2009-09-22 21:54:01下载
- 积分:1
-
li9_23
clear all
I=imread( lena.bmp )
figure imshow(I)
I2=imrotate(I,-4, bilinear ) 逆时针旋转4度
figure imshow(I2)
I3=fliplr(I) 垂直镜像
figure imshow(I3)
I4=imresize(I,0.5, bilinear ) 缩小为原图的1/2
figure imshow(I4)
A=double(I) 转换为double类型
计算7个不变矩
[nc,nr]=size(A)
[x,y]=meshgrid(1:nr,1:nc) 得到网格
x=x(:)
y=y(:)
A=A(:)
m.m00=sum(A)
if m.m00==0
m.m00=eps
end
m.m10=sum(x.*A)
m.m01=sum(y.*A)
计算均值
xmean=m.m10/m.m00
ymean=m.m01/m.m00
计算中心矩(li9_23.rar
cm.cm00=m.m00
cm.cm02=(sum((y-ymean).^2.*A))/(m.m00^2)
cm.cm03=(sum((y-ymean).^3.*A))/(m.m00^2.5)
cm.cm11=(sum((x-xmean).*(y-ymean).*A))/(m.m00^2)
cm.cm12=(sum((x-xmean).*(y-ymean).^2.*A))/(m.m00^2.5)
cm.cm20=(sum((x-xmean).^2.*A))/(m.m00^2)
cm.cm21=(sum((x-xmean).^2.*(y-ymean).*A))/(m.m00^2.5)
cm.cm30=(sum((x-xmean).^3.*A))/(m.m00^2.5)
im(1)=cm.cm20+cm.cm02
im(2)=(cm.cm20-cm.cm02)^2+4*cm.cm11^2
im(3)=(cm.cm30-3*cm.cm12)^2+(3*cm.cm21-cm.cm03)^2
im(4)=(cm.cm30+cm.cm12)^2+(cm.cm21+cm.cm03)^2
im(5)=(cm.cm30-3*cm.cm12)*(cm.cm30+cm.cm12)...
*((cm.cm30+cm.cm12)^2-3*(cm.cm21+cm.cm03)^2)...
+(3*cm.cm21-cm.cm03)*(cm.cm21+cm.cm03)...
+(3*(cm.cm30+cm.cm12)^2-(cm.cm21+cm.cm03)^2)
im(6)=(cm.cm20-cm.cm02)*((cm.cm30+cm.cm12)^2-(cm.cm21+cm.cm03)^2)...
+4*cm.cm11*(cm.cm30+cm.cm12)*(cm.cm21+cm.cm03)
im(7)=(3*cm.cm21-cm.cm03)*(cm.cm30+cm.cm12)...
*((cm.cm30+cm.cm12)^2-3*(cm.cm21+cm.cm03)^2)...
+(3*cm.cm12-cm.cm30)*(cm.cm21+cm.cm03)...
*()
- 2010-10-17 21:53:14下载
- 积分:1
-
MappedTensor
Manages very large tensors of arbitrary dimensions as mapped files on disk.
(This class transparently maps large tensors of arbitrary dimensions to temporary files on disk. Referencing is identical to a standard matlab tensor, so a MappedTensor can be passed into functions without requiring that the function be written specifically to use MappedTensors. This is opposed to memmapfile objects, which cannot be used in such a way.
MappedTensor also offers support for basic operations such as permute, without requiring space for the tensor to be allocated.
An existing binary file can also be mapped, similarly to memmapfile. However, memmapfile offers more flexibility in terms of file format.
)
- 2010-12-14 15:17:16下载
- 积分:1
-
12
说明: 运用MATLAB语言将矩形波转换成正弦波以及绘制学生成绩图(The use of MATLAB language to convert the rectangular wave sine wave and the mapping of student achievement plans)
- 2010-01-16 11:08:50下载
- 积分:1
-
xiaobobao
小波包变换可以对高频部分提供更精细的分解,而且这种分解既无冗余,也无疏漏,所以对包含大量中、高频信息的信号能够进行更好的时频局部化分析。(Wavelet packet transform can provide the high frequency part of the finer decomposition, and this decomposition is neither redundant nor oversight, so the signal contains a large amount of high frequency information can be a better time-frequency localization analysis.)
- 2014-11-24 15:09:35下载
- 积分:1
-
DeJong遗传算法
这是DeJong遗传算法matlab仿真程序,遗传算法,遗传算法(This is the MATLAB simulation program of the DeJong genetic algorithm)
- 2021-02-02 12:39:59下载
- 积分:1
-
compute_ud15bm
本人通过MATLAB编写的代码,用于图像识别和语音识别,基于端点检测和基于UehnSk和kmboTAb的孤立词识别和连续语音识别,是我的毕设代码。
(I have written the code in MATLAB for image recognition and speech recognition, endpoint detection and isolated word recognition and continuous speech recognition based onUehnSk and kmboTAb, it is my complete set of code.
)
- 2015-12-28 22:29:48下载
- 积分:1
-
forward
可以计算任意角的倾斜度板状体的磁法正演,板状体为无限延伸(Forward can calculate any angle of inclination of the plate magnetic method for the unlimited extension of the plate-shaped body)
- 2012-11-14 20:57:20下载
- 积分:1
-
LMS
时域lms算法的MATLAB源代码,对输入信号加入高斯白噪声后进行消噪处理。(Time domain LMS algorithm MATLAB source code, the input signal to join the Gauss white noise.)
- 2020-11-16 19:09:40下载
- 积分:1
-
Visualizing
说明: Matlab实现平面阵列、圆环阵列、直线阵列的三维可视化指向性,包括三维幅值和三维相位。(Matlab realization of planar arrays, ring arrays, linear arrays of three-dimensional visualization of directional, including three-dimensional amplitude and three-dimensional phase.)
- 2010-03-24 07:39:37下载
- 积分:1