From: Alexander C. <ale...@ua...> - 2016-11-30 21:02:21
|
Hi David, You should try rather with real EEG data instead of random data. Are you checking the plug-in of EEGLAB and the tool of ADJUST? -- Edwin Alexander Cerquera S. M. Eng. Ph.D. (Dr. rer. nat.) Associate Professor - IEEE Senior Member | ResearchGate profile <https://www.researchgate.net/profile/Alexander_Cerquera> | IEEE-Collabratec profile <https://ieee-collabratec.ieee.org/app/p/AlexanderCerquera> Faculty of Electronic and Biomedical Engineering - Complex Systems Research Group Universidad Antonio Nariño Carrera 3 Este No 47 A - 15, Bloque 4, Piso 1 Bogota, Colombia, Tel: (+57-1) 3400135 2016-11-30 8:22 GMT-05:00 David Fernandez-Fidalgo <dfe...@me...> : > Hello: > > My name is David Fernandez-Fidalgo and I am a researcher at the National > Intrepid Center of Excellence (NICoE) at Walter Reed Naval Hospital in > Bethesda, MD. I have been trying to teach myself how to use NBT to perform > DFA on MEG data and calculate the DFA exponent for various datasets. I have > been using the information and examples on the wiki page ( > https://www.nbtwiki.net/doku.php?id=tutorial:detrended_ > fluctuation_analysis_dfa#computing_dfa_using_nbt) to learn how to remove > artifacts from the signal and perform DFA. I keep running into an error > every time I try to use the "nbt_filter_fir" function to filter a matrix of > random numbers "Fs = 300; Signal = randn(20*60*Fs,1);" from the example > provided in the wiki. The error I keep observing is: > > "??? Error using ==> mtimes > Inner matrix dimensions must agree. > > Error in ==> firls at 80 > cos_ints = [omega; sin((1:N)' * omega)]; > > Error in ==> fir1 at 98 > hh = firls(L-1,ff,aa); > > Error in ==> nbt_filter_fir at 108 > b = fir1(floor(fir_order*fs),[hp lp]/(fs/2)); > > Error in ==> test at 14 > [Data_filtered] = nbt_filter_fir(Signal, highpass, lowpass, Fs, 2/8);" > > Do you have any suggestions for how I can resolve this error and filter > the dataset? > > Thank You, > David FF > ------------------------------------------------------------ > ------------------ > _______________________________________________ > The NBT help mailing list. > > Visit our webpage: > http://www.nbtwiki.net > > LinkedIn: http://l.nbtwiki.net/nbtlinkedin > Facebook: http://l.nbtwiki.net/nbtfacebook > > Do you need help with NBT?, see > http://l.nbtwiki.net/HRIMOF > > Get involved, see > http://l.nbtwiki.net/HRf5Ns > > To unsubscribe write a mail to nbtoolbox-help-request@lists. > sourceforge.net with 'unsubscribe' in the subject line (without ' ') > Or go to the mail-list administration page to unsubscribe: > https://lists.sourceforge.net/lists/listinfo/nbtoolbox-help > > > |