Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.30 KB | None | 0 0
  1. function rr = tachogram(textfile)
  2.     maxs = plotqrs(textfile,200);
  3.    
  4.     for i=1:length(maxs)
  5.        
  6.         if  (i<length(maxs))
  7.            
  8.             rr(i) = maxs(i+1)-maxs(i);
  9.                
  10.         end
  11.        
  12.     end
  13.    
  14.    
  15.     plot (rr)
  16.    
  17.     return;
  18.        
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement