the main PIV loop https://github.com/Shrediquette/PIVlab/blob/main/PIVlab_commandline.m#L62, if iterated in time resolved sequencing style i=1:1:amount, fails at the last iteration i=amount because {i+1} is out of range (but works fine for pairwise because i=amount is skipped anyway. the loop should end at amount-1.
I also added an option for sequencing style to make it more general
the main PIV loop https://github.com/Shrediquette/PIVlab/blob/main/PIVlab_commandline.m#L62, if iterated in time resolved sequencing style
i=1:1:amount
, fails at the last iterationi=amount
because{i+1}
is out of range (but works fine for pairwise becausei=amount
is skipped anyway. the loop should end atamount-1
. I also added an option for sequencing style to make it more general