Basic question about Band filtering error in Homer3
im very new to Homer3 and fNIRS analysis in general.
We recorded our data with a nirX system. I'm opening the snirf file with Homer3 on MATALAB R2021b, Windows 64 bit.
I can open the file, see the (correct) montage of my optodes, see the stimuli triggers and their numbers as well as select specific channels.
My problem is that when i try to start processing by clicking on RUN (and this happens even on the sample data contained in the sampledata directory of Homer3) the program stops on the first step telling me that
"Function HmrR_BandpassFilt generated error at line 58: Usage: y=filtfilt(b,a,x)"
Do you have any ideas on why i receive this message?
Thank you in advance for the help (and sorry for the ignorance).
there must be more to the error message than that. can you copy all of it.
I suspect you do not have the matlab signal processing toolbox installed in your matlab as that toolbox has the filtfilt() function
When you ran setpaths() prior to running Homer, it probably would have given you a warning that that toolbox was missing.
Thank you for your answers,
I have tried to install Matlab2017b and everything worked flawlessy!