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
This note was uploaded on 04/20/2008 for the course ENGR 190 taught by Professor Staff during the Spring '08 term at Santa Clara.
- Spring '08