-
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
-
ode
常微分方程的数值解法 包括RUNGE-KUTTA方法 Adams预估——校正算法 和MATLAB自带的ODE45解法(Numerical solution of ordinary differential equations including the method of Adams RUNGE-KUTTA predictor- corrector algorithm and ODE45)
- 2011-05-09 15:57:50下载
- 积分:1
-
LFgauss
load flow study using gauss siedel method
- 2013-07-27 19:01:57下载
- 积分:1
-
foc
异步电机转子磁场定向控制仿真模型,通过验证,好用!(FOC induction motor simulation models, easy to use!)
- 2020-12-28 21:19:01下载
- 积分:1
-
table_quality
program which reads a TABLE file of N points in M dimensions, in the unit hypercube, and returns estimates of the quality of the point dispersion
- 2009-06-06 21:16:56下载
- 积分:1
-
power_svpwm_multiPhasesLevel_sfun
power_svpwm_multiPhasesLevel_sfun.rar,功率电子领域matlab仿真文件,已经验证过,程序运行正常(power_svpwm_multiPhasesLevel_sfun.rar,
Power electronics field matlab simulation file, has already been
verified, the normal operating procedures)
- 2013-07-14 12:44:43下载
- 积分:1
-
mutipath
一个多径信道仿真程序。其主程序为:
Jakes_filter.m 产生信道多普勒功率谱形状
linear_fft.m作fft变换,并作相应平移。
linear_psd.m分析信号的psd
qpsk_berest.m产生qpsk信号
random_binary产生随机信号源(a multi-path channel simulation program. Its main program : Jakes_filter.m have access Doppler power spectral shape linear_fft.m for f ft transform, and for the corresponding translation. Linear_psd.m analysis of the signals generated psd qpsk_berest.m letter qpsk No. random_binary generated random signal source)
- 2007-04-04 10:19:56下载
- 积分:1
-
example2_remarkb
三自由度系统的自由响应.wilson-theta和Newmark-beta求解动力学振动方程(
Three degrees of freedom the system free response. Wilson-theta and the Newmark-beta dynamics vibration equation solving)
- 2011-07-13 17:39:59下载
- 积分:1
-
Satellite-Attitude
卫星运动学和姿态动力学模型,采用Matlab的S-function来创建模型,可以方便更改参数(Satellite kinematics and attitude dynamics model using Matlab S-function to create the model, you can easily change the parameters)
- 2013-04-14 00:05:47下载
- 积分:1
-
Dijkstra
matlab算法中比较常用的求最短路的Dijkstra算法。(matlab algorithm for the most commonly used short Dijkstra algorithm.)
- 2013-11-02 11:27:46下载
- 积分:1