필터 지우기
필터 지우기

Envelope of a vibration signal

조회 수: 3 (최근 30일)
Abdelrahman Saleh
Abdelrahman Saleh 2017년 3월 7일
편집: KSSV 2017년 3월 7일
Hello everyone,
I am trying to find the envelope of vibration signal and am using similar code to the one in this link but am getting totally different graphs. Ive attached the graphs which I got.
Thanks,,
And this is the code am using:
clc
close all
clear all
t = 0:1e-4:1;
x = [1+cos(2*pi*50*t)].*cos(2*pi*1000*t);
y = hilbert(x);
env = abs(y);
figure(1)
plot(t,x)
hold on
plot(t,[-1;1]*env,'r','LineWidth',2)
xlim([0 0.1])
xlabel('Seconds')
%%====================================================================== %%
% Load Healthy Bearing
load('*************************.mat')
vib = vibG ;
h = hilbert(vib);
henv = abs(h)';
figure(2)
plot(tt,vib,'b')
hold on
plot(tt,[-1;1]*henv,'r','LineWidth',2)
xlim([0 0.1])
xlabel('Seconds')

답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by