Blame view
temp2allan.m
339 Bytes
8367d5958 add great script |
1 2 3 4 5 6 7 8 |
#!/usr/bin/octave-cli filename = argv(){1}; col = eval(argv(){2}); mult = eval(argv(){3}); data.freq = load(filename)(:,col).*mult; data.rate = 1; |
ddfe04310 dyn tau array size |
9 |
[ad, s, err, tau] = allan(data, 2.^(0:nextpow2(length(data.freq)))), '', 0); |
8367d5958 add great script |
10 11 12 13 |
tosave = vertcat(tau, ad, err)'; save('-ascii', strcat(strsplit(filename, '.'){1}, '_ad.dat'), 'tosave'); exit |