Wavelet Packet decomposition using CSV data file.

3 Ansichten (letzte 30 Tage)
Alcatraz HS
Alcatraz HS am 21 Jan. 2022
Kommentiert: malik elfarsi am 21 Jan. 2022
Hello guys,i'm trying to analyze this data using wavelets but changing the sampling frequency does not effect the result and it always gives the same analysis so i cant identify the frequency components of the data.
How can i associate the sampling frequency with the time of the data.
Any help is appriciated.
data=csvread('Datatest.csv',4);
time=data(:,1);
x=data(:,2);
fs = 1000;
level = 4;
wpt = wpdec(x,level,'db4');
plot(wpt)
figure;
grid on;
hold on;
[Spec,Time,Freq] = wpspectrum(wpt,fs,'plot');
xlabel('Time (secs)')
ylabel('Freq (Hz)')

Antworten (0)

Kategorien

Mehr zu Discrete Multiresolution Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by