Mind Reading
Jump to navigation
Jump to search
Determine Targets
Classifying Blocks
Use findBlockBoundaries
to determine when blocks start and end. For each run, create a vector of zeros with a length equal to the endpoint of the last block:
b=bookends{1,1}; %creating targets for first run, so use first set of bookends s=zeros(1,b(end)); %creates a vector of zeros, 1 for each volume. Can be used to set a default target node of 0 for rest intervals