-
matlabsnakegame
The Game:
Make the snake grow longer by directing it to the food.
Extra bonus points are given from hearts, eat them as fast as possible as amount of bonus points decreases with time.
Higher level gives more points for the food but will also make it tougher to steer a long snake as speed increaces.
Five different mazes as well as play w/o maze are possible.
(The Game : Make the snake grow longer by directing it to the food. Extra bonus points are given from hearts. eat them as fast as possible as amount of bonus po ints decreases with time. Higher level gives mo 're points for the food but will also make it tough er to steer a long snake as speed increaces. Five different mazes as well as play w/o maze are poss ible.)
- 2007-06-26 22:19:27下载
- 积分:1
-
dct
M=512 原图像长度
N=64
K=8
I=zeros(M,M)
J=zeros(N,N)
BLOCK=zeros(K,K)
显示原图像
I=imread( f:ceshiyuanshitu.bmp )
figure
imshow(I)
xlabel( 原始图像 )
显示水印图像
J=imread( f:ceshilogistic_nuaa64.bmp )
figure
imshow(J)
xlabel( 水印图像 )
嵌入水印
tem=1
for p=1:N
for q=1:N
x=(p-1)*K+1
y=(q-1)*K+1
BLOCK=I(x:x+K-1,y:y+K-1)
BLOCK=dct2(BLOCK)
if J(p,q)==0
a=-1
else
a=1
end
BLOCK(2,1)=BLOCK(2,1)*(1+a*0.01)
BLOCK=idct2(BLOCK)
I(x:x+K-1,y:y+K-1)=BLOCK
end
end
显示嵌入水印后的图像
figure
imshow(I)
xlabel( 嵌入水印后的图像 )
imwrite(I, f:ceshiembedded.bmp )
- 2010-06-13 18:43:39下载
- 积分:1
-
s223_5_mutilate_LevelPWM_10b
二极管箝位五电平电路建模与仿真的mdl文件,本人所作作业,绝对可以运行。(Diode-clamped five-level circuit modeling and simulation mdl file, I made the job can definitely run.)
- 2011-08-15 14:59:13下载
- 积分:1
-
mandsimulink
利用相关法进行系统辨识的matlab程序
包含m文件和simulink仿真图(System identification using the correlation method)
- 2013-09-05 19:42:04下载
- 积分:1
-
图像处理在 matlab 中的应用方向可调滤波器代码
您可以使用此代码用于创建 stearable 图像从原来一个为了降低噪声。实际上在图像处理中,你应该前置处理原始图像,以获得更好的结果和学习不同的参考之后, 我明白这种滤波器具有更好地影响图像
- 2022-08-21 21:39:46下载
- 积分:1
-
-
- 2022-05-26 16:11:56下载
- 积分:1
-
000
VC++与MATLAB接口编程方法与实现
VC++与MATLAB接口编程方法与实现(VC++ Math Library calling MatLab interface design realization method)
- 2010-08-22 20:24:20下载
- 积分:1
-
smooth_diffusion
实现把Color图像转化为RGB分量图的matlab程序代码和扩散方程滤波的源代码(achieving Color images into RGB component map Matlab code and filter diffusion equation Wave of source code)
- 2007-04-12 08:41:15下载
- 积分:1
-
DigitalCommunicationUsingMatlab
Simulation of Digital Communication Systems Using Matlab
- 2014-09-30 16:30:57下载
- 积分:1
-
Back-Propagation
algorithm of Back Propagation NN
- 2011-12-23 22:27:54下载
- 积分:1