登录
首页 » matlab » xiaobosuanfa

xiaobosuanfa

于 2011-05-21 发布 文件大小:1KB
0 241
下载积分: 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 个回复

  • Simulink(coumunication)
    《Matlab仿真技术与应用》习题解的源代码,文件中分章节系统的Simulink仿真,让你更深刻的体会Simulink仿真的神奇!("Matlab simulation technology and its application" Exercise Solution of source code, sections of the paper under the Simulink, let you even deeper understanding of Simulink magic!)
    2007-04-29 19:52:44下载
    积分:1
  • STFT
    计算信号的短时傅里叶变换。用法见函数说明。(Short-time Fourier transform calculation signals. Usage See function description.)
    2013-07-25 23:32:24下载
    积分:1
  • mds
    多维标度变换是应用广泛的无线传感器网络定位算法(Multi-Dimensional Scaling)
    2013-08-18 18:22:51下载
    积分:1
  • cart2geodv
    Converts cartesian coordinates in WGS84_XYZ to geodetic coordinates in WGS84_LLA. Vectorized version.
    2014-10-06 18:20:48下载
    积分:1
  • LFM
    线性调频信号相关仿真,模糊函数绘制,波形分析等等(Linear FM signal correlation simulation, fuzzy function mapping, waveform analysis, etc.)
    2021-03-15 17:19:22下载
    积分:1
  • fBm_matlab
    这是一个关于建立分数布朗信号的Matlab程序。(Create Fractional Brownian Signal.)
    2009-05-18 12:52:51下载
    积分:1
  • dspmatlab
    说明:  详细介绍数字信号处理及MATLAB应用实现的书籍(Detailed application of digital signal processing and MATLAB realization of the books)
    2010-03-17 19:20:51下载
    积分:1
  • fuhaoyunsuan
    小扰动偏导求解,利用matlab的符号运算(small pertub)
    2011-12-16 14:48:16下载
    积分:1
  • AR2_1
    现代数字信号处理 AR(p)模型 matlab程序(ADSP AR(p) model,MATLAB)
    2015-09-09 21:57:12下载
    积分:1
  • irisrecognition
    iris recognition using matlab p-file
    2011-01-12 08:39:49下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载