Home > fcn > DIVA_GUI_toolbox > chompIdx.m

chompIdx

PURPOSE ^

SYNOPSIS ^

function [targ, motor]=chompIdx(targ,motor)

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [targ, motor]=chompIdx(targ,motor)
0002   [targ, tidx]=sort(targ);
0003   motor=motor(:,tidx);
0004   tidx=find(targ<DIVA('AuditoryCortexCategorical','match')*...
0005             DIVA('AuditoryCortexCategorical','ntimepoints')+1);
0006   targ(tidx)=[];
0007   motor(:,tidx)=[];
0008   return;
0009

Generated on Tue 27-Mar-2007 12:06:24 by m2html © 2003