Microprocessors have been used in electrocardiographs to obtain certain advanced features like the elimination of artefacts, baseline shifting, and so…