bad channel filtering:
> here the sequence of my action:
> 1. nbt_gui
> 2. start EEGlab
> 3. NBT|File|Load NBT signal
>
> 4.remove bad channel:
> 4.1. Tools|Filter the data|Short IIR filter (set parameters as suggested in the wiki);
> 4.2. overwrite in memory
> 4.3.NBT|pre-processing|find and add bad channel to...
> 4.4. select method (I put F) and it gives: No bad channels found
> 5. NBT|pre-processing|runICA on good channels; I insert 15 components and gives me this error:
> ??? Error using ==> svd
> Input to SVD must not contain NaN or Inf.
>
> Error in ==> rank at 15
> s = svd(A);
>
> Error in ==> nbt_pop_runicaBadChannels>getrank at 760
> tmprank = rank(tmpdata);
>
> Error in ==> nbt_pop_runicaBadChannels at 634
> tmprank = getrank(tmpdata(:,1:min(3000, size(tmpdata,2))));
>
> Error in ==> nbt_filterbeforeICA at 90
> EEG = nbt_pop_runicaBadChannels(EEG,'pca',nrpca,'extended',1);
>
> ??? Error while evaluating uimenu Callback
>
Did you check if your signal has any NaNs or inf? Could be the filtering - or worse-case the import that somehow added NaNs or inf. - I also had this error before, and it was the filter that was wrongly defined... Does it work if you downsample?