fpica under octave

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

fpica under octave

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


Javier Ochoa

www.proimi.org.ar

PROIMI - Av. Belgrano y Pje Caseros

T4001MVB San Miguel de Tucumán

Tel/fax:0381-4344888/7 Ext: 19

_________________________________________________________________
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: fpica under octave

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
Most probably, you try to run old style Octave code.
Previously the 'va_arg' method allowed a variable number
of input arguments to Octave functions (m-files).

Unfortunately some maintainers removed this feature
around Octave Version 2.1.56 without providing
any backwards compatibility :(

I'm afraid that you have to modify your functions
by hand using the modern 'varargin' functions
(see manual under multiple number of input arguments)
in order to run it in a later version of Octave.

Rolf Fabian
<r dot fabian at jacobs-university dot de>