Icon
 

Calculate the energy of the given discrete sequence in MATLAB