Relative Wavelet Energy

by

 

06 Jun 2008 (Updated )

a program calculates Relative wavelet energy with brief tutorial

y=relative_energy(DATA)
 function y=relative_energy(DATA)

           [M,N]=size(DATA);
          y=zeros(M,N);
         
           relative=sum(DATA);
          for n=1:N
              for m=1:M
                  y(m,n)=DATA(m,n)/relative(n);
              end
          end
        
          
    

Contact us