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?