-
coding_xn
根据输入的概率进行香农编码,然后输出必要的参数和编码的结果。其中有嵌套程序。(Probability under the Importation of Shannon coding, and then output the necessary parameters and the coding results. Which have nested procedures.)
- 2007-09-04 21:40:52下载
- 积分:1
-
main
一个三角形单元的有限元程序简易算例,最后可用输出tecplot打开的云图文件.plt(A triangular element of the finite element program simple example, the last available output tecplot open cloud file .plt)
- 2015-01-19 20:19:17下载
- 积分: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
-
srh2sms123
Convert SRH-2D model outputs into an SMS friendly format
- 2010-11-27 02:55:29下载
- 积分:1
-
rbc
function [g, badg] = numgrad(fcn,x,varargin)
- 2010-03-04 17:03:11下载
- 积分:1
-
daglingsuffix
to determine whether the code is uniquely decodable or not.
- 2014-08-21 13:29:31下载
- 积分:1
-
jixiegongcheng
学习机械工程控制的例子的一些matlab中的实现过程(Examples of mechanical engineering to learn some control of the implementation process in matlab)
- 2011-09-06 14:39:48下载
- 积分:1
-
Task5.1
Alamouti code simulation and comparison to the classical mrrc
- 2010-08-20 10:08:54下载
- 积分:1
-
FFT
MATLAB 傅里叶分析 快速傅里叶分析 非常正确的资料 值得下载(MATLAB FFT)
- 2013-10-03 20:39:01下载
- 积分:1
-
软判决解映射的简化算法
提出了一种软判决解映射的简化算法,简化算法同时提高性能(a new simplified soft-output demapping algorithm)
- 2017-12-07 20:48:41下载
- 积分:1