how can we take the seperate energy component in wenergy?

3 views (last 30 days)
Hi friends......
i am calculating energy of EEG signal.
i took a single channel of EEG. i used wpdec to decompose into delta, theta, alpha, beta and gamma.
Now i want to calculate the energy of these individually sub-bands.
D = wpdec(x,5,'db4');
E= wenergy(D);
99.6135193385093 / 0.233995892469453 / 0.0204106862264955/ 0.102240631189807 /0.00261870637874409 /0.00421324399028375/ 0.00736084264283965 /0.00509831935759924/ 0.000609947973077826 /0.000845424912145064/ 0.00157620879268279/ 0.00130380141377985/ 0.00172746075795348/ 0.00113357559477077/ 0.000363666808216811/ 0.00174664251888533/ 3.95721608402899e-06/ 3.26351602003420e-06/ 3.72295642951519e-06/ 1.95923593039854e-06/ 7.05027504361485e-05/ 6.16686308943517e-05/ 1.78220268529298e-05/ 4.58052059813187e-05/ 0.000115457314567345/ 0.000115442416453067/ 0.000274619807459558/ 0.000227727132719205/ 5.93847815613595e-05/ 6.37409673991104e-05/ 8.85165197923399e-05/ 8.20199866273504e-05/
As per my knowledge, wenergy decompose the whole signal energy in different frequency band's energies. but how can we take the energies individually from these 32 data points?

Answers (1)

Francisco Padilla
Francisco Padilla on 28 Feb 2018
% Example 2: 1-D wavelet packet decomposition %-------------------------------------------- load noisbump T = wpdec(noisbump,3,'sym4'); E = wenergy(T)
E =
95.0329 1.4664 0.6100 0.6408 0.5935 0.5445 0.5154 0.5965

Categories

Find more on EEG/MEG/ECoG in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!