Skip to content

vlt.neuro.stimulus.trimrespcurve

  TRIMRESPCURVE - Trim a 4xN response curve to remove NaN stimulus values

     CURVE = vlt.neuro.stimulus.trimrespcurve(MYCURVE)

   Assumes MYCURVE is a 4xN response curve where the first row MYCURVE(1,:)
   has the stimulus values.  If any of these entries are NaN, then those column
   is removed from MYCURVE. The result is returned in CURVE.

   One can use this function to remove the response of the blank stimulus from a
   response curve.