[Eeglablist] How to save the normalized data that we see in scroll data display?
Makoto Miyakoshi
mmiyakoshi at ucsd.edu
Fri Nov 2 11:23:07 PDT 2012
Dear Edward,
> Error: Expression or statement is incorrect--possibly unbalanced (, {, or [.
Oops. The line must be
tmp = reshape(EEG.data, [size(EEG.data, 1) size(EEG.data, 2) *
size(EEG.data, 3) ]);
The last parenthesis was missing.
By the way I learned a shortcut for it yesterday, and
tmp = EEG.data(:,:);
should also work.
Makoto
2012/11/2 Edward Justin Modestino <edward.modestino at gmail.com>:
> Makoto,
> I need to be able to get this working as well. I tried it and got the
> following error.
>
>
>>> tmp = reshape(EEG.data, [size(EEG.data, 1) size(EEG.data, 2) *
> size(EEG.data, 3) ];
> tmp = zscore(tmp, 0, 2);
> tmp = reshape(tmp, size(EEG.data));
> EEG.data = tmp;
> ??? tmp = reshape(EEG.data, [size(EEG.data, 1) size(EEG.data, 2) *
> |
> Error: Expression or statement is incorrect--possibly unbalanced (, {, or [.
>
>
> On Thu, Nov 1, 2012 at 1:21 PM, Makoto Miyakoshi <mmiyakoshi at ucsd.edu>
> wrote:
>>
>> Dear nabaraj,
>>
>> Check out the function zscore.
>> If your data are epoched, then the code should be something like
>>
>> tmp = reshape(EEG.data, [size(EEG.data, 1) size(EEG.data, 2) *
>> size(EEG.data, 3) ];
>> tmp = zscore(tmp, 0, 2);
>> tmp = reshape(tmp, size(EEG.data));
>> EEG.data = tmp;
>>
>> This should normalizes each channel.
>>
>> Makoto
>>
>> 2012/10/29 nabaraj dahal <nabarajdahal at gmail.com>:
>> > Dear list member,
>> > I wish to save the normalized data of all channels for further
>> > processing.
>> > Is there any way I can save the normalized data of all channels that we
>> > see
>> > in scroll data display?
>> > I would be grateful for you help.
>> >
>> > Best Regards,
>> > Nab
>> >
>> > _______________________________________________
>> > 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
>> JSPS Postdoctral Fellow for Research Abroad
>> Swartz Center for Computational Neuroscience
>> Institute for Neural Computation, University of California San Diego
>> _______________________________________________
>> 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
>
>
>
>
> --
> Edward Justin Modestino, Ph.D.
> Neuroscientist/Faculty
> Atlantic University
>
--
Makoto Miyakoshi
JSPS Postdoctral Fellow for Research Abroad
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
More information about the eeglablist
mailing list