octave all_va_args

View: New views
3 Messages — Rating Filter:   Alert me  

octave all_va_args

by j8a :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


My name is Javier Ochoa, I am working at PROIMI in Argentina. I have installed Octave 2.9.12 under  Linux in order to run the ica routines you modified from the ones in MatLab written by Hurri et al.
I cannot run the fpica.m function because the following error message appeared:error: `all_va_args' undefined near line 100 column 13
Could anybody tell me where is the problem, I could not explain this and I will very appreciate your coments.
Best regards,
 
octave:13:> x=demosig
octave:14>[E,D]=pcamat(x)
octave:15> [nv,vm,dwm]=whitenv(x,E,D)
octave:16>[A,W]=fpica(nv,vm,dwm,'defl',4,'pow3','off',1,1,1,'off',1e-6,500,100,'rand',1,'rand','signals',20,'on','classic')
Used approach [ defl ].
Warning: Setting 'sampleSize' to 1.
Used nonlinearity [ pow3 ].
Starting ICA calculation...
IC 1 ...........computed ( 11 steps )
IC 2 ......................computed ( 22 steps )
IC 3 .....computed ( 5 steps )
IC 4 ..computed ( 2 steps )
Done.
error: `all_va_args' undefined near line 100 column 13
error: evaluating argument list element number 1
error: evaluating assignment expression near line 100, column 6
error: called from `icaplot' in file `/home/jochoa/fica/icaplot.m'
error: evaluating switch command near line 871, column 5
error: evaluating if command near line 870, column 3
error: evaluating if command near line 591, column 1
 
 
_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www.cae.wisc.edu/mailman/listinfo/help-octave

Re: octave all_va_args

by Rolf Fabian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Javier Ochoa wrote:
I cannot run the fpica.m function because the
following error message appeared:error: `all_va_args'
undefined near line 100 column 13
See my reply <http://www.nabble.com/fpica-under-octave-to15828625.html>
Rolf Fabian
<r dot fabian at jacobs-university dot de>

Re: octave all_va_args

by Ben Abbott :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tuesday, March 04, 2008, at 10:47AM, "Javier Ochoa" <javierochoa88@...> wrote:

>
>My name is Javier Ochoa, I am working at PROIMI in Argentina. I have installed Octave 2.9.12 under  Linux in order to run the ica routines you modified from the ones in MatLab written by Hurri et al.
>I cannot run the fpica.m function because the following error message appeared:error: `all_va_args' undefined near line 100 column 13
>Could anybody tell me where is the problem, I could not explain this and I will very appreciate your coments.
>Best regards,
>
>octave:13:> x=demosig
>octave:14>[E,D]=pcamat(x)
>octave:15> [nv,vm,dwm]=whitenv(x,E,D)
>octave:16>[A,W]=fpica(nv,vm,dwm,'defl',4,'pow3','off',1,1,1,'off',1e-6,500,100,'rand',1,'rand','signals',20,'on','classic')
>Used approach [ defl ].
>Warning: Setting 'sampleSize' to 1.
>Used nonlinearity [ pow3 ].
>Starting ICA calculation...
>IC 1 ...........computed ( 11 steps )
>IC 2 ......................computed ( 22 steps )
>IC 3 .....computed ( 5 steps )
>IC 4 ..computed ( 2 steps )
>Done.
>error: `all_va_args' undefined near line 100 column 13
>error: evaluating argument list element number 1
>error: evaluating assignment expression near line 100, column 6
>error: called from `icaplot' in file `/home/jochoa/fica/icaplot.m'
>error: evaluating switch command near line 871, column 5
>error: evaluating if command near line 870, column 3
>error: evaluating if command near line 591, column 1
>
>

I don't believe that all_va_args exists in Matlab, but did in Octave 2.1.x.

The Octave 2.9.x uses a different syntax. Take a look at the link below.

http://www.gnu.org/software/octave/doc/interpreter/Variable_002dlength-Argument-Lists.html

Ben






_______________________________________________
Help-octave mailing list
Help-octave@...
https://www.cae.wisc.edu/mailman/listinfo/help-octave