[Eeglablist] complex binning

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Sun Jun 7 18:21:10 PDT 2015


Dear Brittany,

I assume you are talking about general Matlab coding stuff. Why don't you
use if statement in the loop? By the way, what is the 'bin' you mean? Cell
array?

Makoto

On Thu, Jun 4, 2015 at 11:47 PM, Brittany Alperin <balperin07 at gmail.com>
wrote:

> Hello
>
> I'm wondering if there's any way to create a bin with something like an
> "or" statement in it. For example I want a bin that is time-locked to my
> fixation cue (77) when it precedes a correct response. However a correct
> response is a 88 followed by a 3 or a 99 not followed by a 3.
>
> For example I  want the following two statements under a single bin:
> .{77}{88}{3} and .{77}{99}{~3}
>
> Do I need to make them separate bins and then combine the two bins after
> I'm done cleaning, or is there a way I can get them to be binned together
> to being with?
>
> Thanks,
> Brittany
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20150607/cbfe62b4/attachment.html>


More information about the eeglablist mailing list