Commit 0ff87f99 authored by Lucas Russo's avatar Lucas Russo

scripts/matlab/: add scripts for analysing acquisition correctness

For now, enabling synthetic data on the FMC130
module, we can acquire consecutive data and check
if the output file is correct with these functions.
parent 2eae7db9
function find_acq_non_consecutive(filename)
data=load(filename);
for n = 1:size(data,2)
find_non_consecutive(data(:,n)')
end
end
function x = find_non_consecutive(a)
p = find(diff(a)!=1);
x = [p;p+1];
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment