help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does Octave contain the wavelet transform toolbox?


From: DigitalPig
Subject: Re: Does Octave contain the wavelet transform toolbox?
Date: Mon, 24 Mar 2008 23:50:07 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Thanks for providing this. After I unzip this file, it said it can't
find octave path.

I think it's because Octave doesn't have matlabroot function...

I modified it a little, and show the diff here:

*** WavePath.m  2008-03-24 22:57:26.000000000 -0400
--- WavePath-2.m        2008-03-24 23:46:18.000000000 -0400
***************
*** 19,29 ****
          WAVELABPATH = ['Macintosh HD:Build 850:Wavelab$VERSION$', 
PATHNAMESEPARATOR];
          MATLABPATHSEPARATOR = ';';
        WAVELABPATH=strcat(matlabroot,'/toolbox/Wavelab850/')
!       elseif isunix,
          PATHNAMESEPARATOR = '/';
          WAVELABPATH = [pwd, PATHNAMESEPARATOR];
          MATLABPATHSEPARATOR = ':';
        WAVELABPATH=strcat(matlabroot,'/toolbox/Wavelab850/')
        elseif strcmp(Friend(1:2),'PC');
          PATHNAMESEPARATOR = '\';        
          WAVELABPATH = [cd PATHNAMESEPARATOR];  
--- 19,35 ----
          WAVELABPATH = ['Macintosh HD:Build 850:Wavelab$VERSION$', 
PATHNAMESEPARATOR];
          MATLABPATHSEPARATOR = ';';
        WAVELABPATH=strcat(matlabroot,'/toolbox/Wavelab850/')
!       elseif exist('OCTAVE_VERSION'),
!             PATHNAMESEPARATOR = '/';
!         WAVELABPATH = [pwd, PATHNAMESEPARATOR];
!         MATLABPATHSEPARATOR = ':';
!         WAVELABPATH=strcat('/usr/share/octave/2.9.12/m','/Wavelab850/')
!       elseif isunix
          PATHNAMESEPARATOR = '/';
          WAVELABPATH = [pwd, PATHNAMESEPARATOR];
          MATLABPATHSEPARATOR = ':';
        WAVELABPATH=strcat(matlabroot,'/toolbox/Wavelab850/')
+                
        elseif strcmp(Friend(1:2),'PC');
          PATHNAMESEPARATOR = '\';        
          WAVELABPATH = [cd PATHNAMESEPARATOR];  
I tested under Ubuntu 7.10 Octave 2.9.12. It works. It can recognize
Octave and use octave path to install.
 
"Jordi GutiƩrrez Hermoso" <address@hidden> writes:

> On 23/03/2008, DigitalPig <address@hidden> wrote:
>> Hi~ guys! I just wondering if Octave contains Wavelet transform
>>  toolbox. If not, is there any alternative? Thanks!
>
> Give Wavelab a try:
>
>      http://www-stat.stanford.edu/~wavelab/Wavelab_850/download.html
>
> Let us know how it goes. With any luck, it will run smoothly on Octave.
>
> - Jordi G. H.

-- 
DigitalPig
E-mail: digitalpiglee AT gmail DOT com
ALL WE SEEN IS ILLUSION.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]