These are some simple and useful functions I wrote on MATLAB for data analysis:

- powerd: Computes the average power of an n-dimensional signal;
- energyd: Computes the energy of an n-dimensional signal;
- errord: Computes the absolute difference between two signals;
- msed: Computes the mean-squared error between two signals;
- ser: Computes the signal-to-error ratio between two signals.