Prev: ??? Subscript indices must either be real positive integers or logicals. Interesting MATLAB loop problem
Next: publish swallows results ???
From: song ?? on 13 Apr 2010 23:00 Hi all I've got a problem.When I want to use pat2cwav funcion to build a new wavelet,it's error. Syntax: [PSI,XVAL,NC] = pat2cwav(YPAT,METHOD,POLDEGREE,REGULARITY) When METHOD is 'othconst', how to write ‘POLDEGREE’? [psi,xval,nc] = pat2cwav(Y, 'othconst','', 'continuous') ; Error in ==> pat2cwav at 258 PSI = interp1(XValOLD,PSI,XVal); Thanks a lot!
From: Wayne King on 14 Apr 2010 07:10 "song ??" <njsongwenhui(a)163.com> wrote in message <hq3b44$4nf$1(a)fred.mathworks.com>... > Hi all > I've got a problem.When I want to use pat2cwav funcion to build a new wavelet,it's error. > Syntax: > [PSI,XVAL,NC] = pat2cwav(YPAT,METHOD,POLDEGREE,REGULARITY) > When METHOD is 'othconst', how to write ‘POLDEGREE’? > [psi,xval,nc] = pat2cwav(Y, 'othconst','', 'continuous') ; > > > Error in ==> pat2cwav at 258 > PSI = interp1(XValOLD,PSI,XVal); > > > Thanks a lot! Hi, You just enter the degree of the polynomial as an integer: %An example load ptpssin1; [psi,xval,nc] = pat2cwav(Y, 'orthconst',3,'continuous'); Hope that helps, Wayne
From: song ?? on 15 Apr 2010 09:46
Thanks o lot ,According to your method ,I've slove this problem!Thank you again! |