登录
首页 » matlab » xiaobosuanfa

xiaobosuanfa

于 2011-05-21 发布 文件大小:1KB
0 276
下载积分: 1 下载次数: 63

代码说明:

   采样频率 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) )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ESPRIT1
    利用ESPRIT方法求目标的角度,系统为均匀线阵,阵元间距为波长的一半(Estimate the DOA of the target)
    2012-04-13 23:42:00下载
    积分:1
  • LatticeEur-Put-and-Call-option
    欧式看涨和看跌期权价格的二叉树求解以及平价法则的验证.(European call and put option prices binary tree solving and verification of the parity law.)
    2013-05-13 15:56:40下载
    积分:1
  • LCD12864
    labview for example embrassion
    2015-04-04 18:35:06下载
    积分:1
  • psofortsp
    Optimization using Particle Swarm Optimization for Travelling Selesman Problem with Matlab
    2014-02-14 14:51:12下载
    积分:1
  • DFIG2PWM2
    风力发电系统仿真,变速恒频,svpwm。(Wind power generation system simulation, variable speed constant frequency, SVPWM.)
    2018-05-16 16:58:54下载
    积分:1
  • GSR-VALUE
    it use pc com port to receive and show over gui
    2011-04-19 16:50:55下载
    积分:1
  • CP0102
    MATLAB文件。《超宽带无线电基础》配套程序,第一章第二个例程。用于产生正弦脉冲。(MATLAB file. Ultra-wideband radio base matching program, chap second routine. Used to generate sine pulse.)
    2015-01-28 10:52:35下载
    积分:1
  • SVMface
    用SVM实现人脸特征提取和识别,用matlab编写,和结果分析(A matlab code of SVM for face recognition)
    2009-10-26 23:54:46下载
    积分:1
  • pca
    matlab principal component analysis, PCA算法.(matlab principal component analysis, PCA algorithm.)
    2008-05-30 22:10:17下载
    积分:1
  • 1
    说明:  MATLAB实现的人脸检测程序 (PCA)方法,内附有详细注释(MATLAB implementation of face detection (PCA) method, enclosed is the detailed comments)
    2013-12-03 17:29:43下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载