Filtering of ECG for determining heart beat and breath rate!! The application of filtering function, power spectrum and analysing various parameters through ECG signals through mathematical operations.