Mind Reading

From CCN Wiki
Revision as of 15:22, 11 July 2016 by 172.101.108.133 (talk) (Created page with "== Determine Targets == === Classifying Blocks === Use <code>findBlockBoundaries</code> to determine when blocks start and end. For each run, create a vector of zeros with a l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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