how to get wavelet transform using wavedec function

3 views (last 30 days)
sm m
sm m on 28 Sep 2014
Edited: sm m on 28 Sep 2014
hi ..
I need help in applying 1d wavedec function on dats and dats_b
My code looks like this
save([resultfolder '\' num2str(Signal) '.mat'], 'dats_orig', 'dats', 'dats_orig_b', 'dats_b');
I want to do wavelet transform on all the dats and dats_b but there is something wrong that I am doing. please help.
my code
save([resultfolder '\' num2str(Signal) '.mat'], 'dats_orig', 'dats', 'dats_orig_b', 'dats_b');
dwtmode('per');
Data_edited=wavedec(dats, wavelet='db2', levels=inf, length=None);
Data_edited_b=wavedec(dats_b, wavelet='db2', levels=inf, length=None);
please advise:

Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!