Morphological modeling of cardiac signals based on signal decomposition