AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
BrianB
May 14, 2009 05:06PM
Greetings,

I am using RetroTS.m for the first time, trying to follow my notes from class, and it seems I may be missing a step. After entering matlab7 from the folder with the physiological data, I add:

path (path, '~/afni_matlab')
Opt.PhysFS = 1/0.02
Opt.Nslices = 38
Opt.VolTR = 2.3
Opt.Respfile = 'Resp_epitTRslt_scan_3.dat'
Opt.Cardfile = 'ECG_epitTRslt_scan_3.dat'
RetroTS(Opt)

I then receive an error:

??? Undefined command/function 'fir1'.

Error in ==> PeakFineder at 59
b = fir1(Opt.FIROrder, w, 'low'); %FIR filter of order 40

Error in ==> RetroTS at 183
R = PeakFinder(Opt.Respfile,OptR);


Which step am I missing or am I making some other kind of other error?

Thanks for your help.
Subject Author Posted

RetroTS.m

BrianB May 14, 2009 05:06PM

Re: RetroTS.m

ziad May 15, 2009 10:29AM

Re: RetroTS.m

Daniel Glen June 10, 2009 02:04PM