find difference between RR Intervals

i have a set of 300 data of RR interval in a txt file format which i have to find the difference between the intervals. for example, i have data 10 , 5, 4, 3. i am supposed find the difference so its 10-5, 5-4, 4-3. How do i find a formula which can do this?

Answers (1)

Hi,
Diff function this documentation might be usefull for you.

Categories

Tags

Asked:

on 15 Jan 2017

Answered:

on 7 Jul 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!