[Homer-users] reverse.m is shadowed (hmrMotionCorrectKurtosisWavelet.m)

Vishwanath, Karthik vishwak at miamioh.edu
Wed Jan 30 17:26:37 EST 2019
Search archives:

        External Email - Use Caution        

Hi,

Was trying to use hmrMotionCorrectKurtosisWavelet (from
homer2_src_v2_8_11022018.zip) and ran into the following issue:

==================================
>> doDKurtosis = hmrMotionCorrectKurtosisWavelet(doD, hmrvars.SD, 3.3);
Error using reverse (line 35)
First argument must be a string array, character vector, or cell array of
character vectors.
Error in aconv (line 31)
    fflip = reverse(f);

Error in DownDyadLo (line 14)
    d = aconv(qmf,x);

Error in FWT_PO (line 26)
       beta = DownDyadLo(beta,qmf) ;

Error in hmrMotionCorrectKurtosisWavelet (line 59)
    wc = FWT_PO(y,1,qmf);                       % DWT

>> which reverse -all
/usr/local/MATLAB/R2017a/toolbox/matlab/strfun/reverse.m
reverse is a built-in
method                                                 % string method
/usr/local/MATLAB/R2017a/toolbox/matlab/bigdata/@tall/reverse.m
% tall method
/usr/local/MATLAB/R2017a/toolbox/distcomp/parallel/@codistributed/reverse.m
% codistributed method
/home/karthik/Research/Matlab/lib/homer2/UTILITIES/Wavelet/reverse.m
% Shadowed

==================================

Appears that reverse is shadowed by a built-in call and will need to be
renamed in homer2/UTILITIES/Wavelet/.


Thanks,

--
Karthik Vishwanath, PhD
James C. & Carole E. Garland Professorship
Office: 109 Kreger Hall
Dept. of Physics, Miami University, Oxford OH
Tel: (513) 529-2315
Web: OSIM Lab <http://users.miamioh.edu/vishwak/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/homer-users/attachments/20190130/5e198514/attachment.html 


More information about the Homer-users mailing list