Unformatted text preview: This % rate should agree relatively closely with the value returned % from rate_from_track. global Gnum_scans Galigns Grpm if nargin < 1 bundle = 1 end load_aligns(bundle) total = 0 for i=1:Gnum_scans cur = i pre = mod(i-2,Gnum_scans)+1 diff = Galigns(cur).sample(1) - Galigns(pre).sample(2) total = total + diff end rate = round(total*Grpm/60)...
View Full Document
- Spring '08
- Set Theory, Category theory, sample rate, Galigns Grpm