NumControls = 2;
dt = 1;
t_On = 0;
t_Move = 500;
t_Off = 2500;
NumAngles = size(d, 1) - NumControls;
NumTimePoints = size(d, 2);
NumTrials = size(d, 2);
ThisOrientation = 10;
The error hows index exceeds matrix dimensions on the line plot(t_vect,trial*d(ThisOrientation,:,trial),'+')
Tried to figure out myself by browsing all the same error but can't find any. Can anyone please help me since I might be overlooked?
my data size is 4x15x30 double. Thanks a lot!