help-octave
[Top][All Lists]
Advanced

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

cellfun


From: Francesco Potortì
Subject: cellfun
Date: Thu, 09 Sep 2010 11:46:29 +0200

I seem to miss something.  Is this normal?

octave> version
ans = 3.2.4

octave> rfh = @(r) feval (r);
octave> rfh(@rand)
ans =  0.13436
octave> cellfun (rfh, {"rand"})
ans =  0.84743

octave> rfh = @(r) feval (r, "state", 1);
octave> rfh(@rand)
octave> cellfun (rfh, {"rand"})
error: octave_base_value::resize (): wrong type argument `<unknown type>'

Why the error?  What am I doing wrong?

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: address@hidden
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


reply via email to

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