[Eeglablist] How to save the normalized data that we see in scroll data display?

Edward Justin Modestino edward.modestino at gmail.com
Tue Nov 6 06:50:16 PST 2012


Yes, this code works:
*normdata = zscore(EEG.data,0,2);
EEG.data = normdata;*

On Mon, Nov 5, 2012 at 9:07 PM, Tim Mullen <mullen.tim at gmail.com> wrote:

> As I posted earlier, it's simple to compute:
>
> normdata = zscore(EEG.data,0,2);
>
> No need to reshape, etc. This will normalize each channel and each epoch
> independently.
>
> Tim
>
>
> On Fri, Nov 2, 2012 at 11:23 AM, Makoto Miyakoshi <mmiyakoshi at ucsd.edu>wrote:
>
>> 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
>> >
>> >
>> >
>>
>>
>> --
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20121106/3803ea92/attachment.html>


More information about the eeglablist mailing list