xiaobosuanfa
采样频率
fs=10000
轴承外环故障信号
fid=fopen( bearingout.dat , r ) 故障
N=1024
xdata=fread(fid,N, int16 )
fclose(fid)
xdata=(xdata-mean(xdata))/std(xdata,1)
时域波形
figure(1)
plot(1:N,xdata)
xlabel( 时间 t/n )
ylabel( 电压 V/v )
db10小波进行4层分解
一维小波分解
[c,l] = wavedec(xdata,4, db10 )
重构第1~4层细节信号
d4 = wrcoef( d ,c,l, db10 ,4)
d3 = wrcoef( d ,c,l, db10 ,3)
d2 = wrcoef( d ,c,l, db10 ,2)
d1 = wrcoef( d ,c,l, db10 ,1)
( Sampling frequency fs = 10000 bearing outer ring fault signal fid = fopen (' bearingout.dat' , ' r' ) failure N = 1024 xdata = fread (fid, N, ' int16' ) fclose (fid ) xdata = (xdata-mean (xdata))/std (xdata, 1) time-domain waveform figure (1) plot (1: N, xdata) xlabel (' Time t/n' ) ylabel ( ' voltage V/v' ) db10 wavelet decomposition 4 layer one-dimensional wavelet decomposition [c, l] = wavedec (xdata, 4, ' db10' ) 1 ~ 4 reconstructed detail signal d4 = wrcoef (' d' , c, l, ' db10' , 4) d3 = wrcoef (' d' , c, l, ' db10' , 3) d2 = wrcoef (' d' , c, l, ' db10' , 2) d1 = wrcoef (' d' , c, l, ' db10' , 1) )
- 2011-05-21 16:48:36下载
- 积分:1
demo
小波用于CFA图像插值的源程序,2010年最新的论文。This is a demo program of color filter array (CFA) image color reproduction.
J. Tian, W. Yu and L. Ma, "Color filter array color reproduction using
cycle-spinning," International Journal of Electronics and Communications,
Vol. 64, No. 6, pp. 584-587, Jun. 2010.(This is a demo program of color filter array (CFA) image color reproduction.
J. Tian, W. Yu and L. Ma, "Color filter array color reproduction using
cycle-spinning," International Journal of Electronics and Communications,
Vol. 64, No. 6, pp. 584-587, Jun. 2010.)
- 2010-07-12 11:38:46下载
- 积分:1