-
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
-
carima
基于受控自回归积分滑动平均 (CARIMA)模型控对象的预测控制程序(Points based on the controlled auto-regressive moving average (CARIMA) Model Predictive Control control procedures)
- 2009-04-30 16:19:10下载
- 积分:1
-
jiaosulvpipeikaermanlvbo
捷联式惯性导航的角速率匹配卡尔曼滤波,使用matlab语言编写(Strapdown inertial navigation of angular rate matching kalman filter)
- 2014-01-13 15:52:15下载
- 积分:1
-
PLC_channel_generator_v2
PLC matlab 信道模型,主要是电力载波信道中的多径数据(PLC channel Model)
- 2016-07-19 17:18:44下载
- 积分:1
-
throughwall
这是使用射线跟踪法求解墙体造成误差的程序,分别有穿单面墙,平行双墙,垂直双墙的情况(This is to use ray-tracing procedure for solving the error caused by the wall, respectively, through a single wall, parallel to the double wall, vertical double-wall case)
- 2010-09-02 13:21:51下载
- 积分:1
-
matlabPPT
说明: 这份资料是关于MATLAB的初级介绍,对于初学者非常实用,如果想快速学会使用matlab,建议大家先看看这份资料。谢谢!(This information is on the MATLAB primary introduction is very useful for beginners, if you want to quickly learn how to use matlab, suggest that you take a look at this information. Thank you!)
- 2011-04-14 23:24:39下载
- 积分:1
-
111pll
锁相环PLL原理与应用入门教程,很经典,值得一看(Principle and Application of phase-locked loop PLL Tutorial, very classic, worth a visit)
- 2010-05-12 17:08:19下载
- 积分:1
-
juanjima
该文件内含有程序和详细的程序解读,从不同的角度完成统一任务:卷积编码(The document contains the procedures and detailed procedures for reading from a different point of view the fulfillment of the tasks: convolutional coding)
- 2009-12-29 16:38:06下载
- 积分:1
-
matopt
说明: MATLAB程序,Writing Fast MATLAB Code(MATLAB program, Writing Fast MATLAB Code)
- 2010-04-09 21:47:37下载
- 积分:1
-
cp_fixed
股票指数模拟为几何布朗运动,GBM。 参数有五个:
s0,dt(time step),均值,标准差,到期时间T;
利用子函数进行10万条轨道的monte carlo 模拟到期日(3个月)的指数点数,从而估计在买入信号出现后,3个月后的损益情况,主要用来估算VAR
(Financial risk analysis on Matlab monte carlo simulation, stock index simulation for geometric Brownian motion, GBM.
)
- 2012-05-05 23:12:24下载
- 积分:1