Hello!
I would like to have an code that tells me how much time the subject spent in a certain position (0,1,2).
Currently I have written this code, which tells me how often the value is (0,1,2) but I don't know how to write a code which does what I am looking for.
N= ActivityCode1Sed_idx= find(N(:,1)==0);LPA_idx= find(N(:,1)==1);MVPA_idx= find(N(:,1)==2)
Could you please help me?
Best Answer