On Fri, Oct 23, 2009 at 10:00 AM, Michael Creel <michael.cr...@uab.es> wrote:
> I have been trying out parcellfun on 3.0.1 and 3.3.50+ and I'm not
> having luck. For example, if I try
> [a b] = parcellfun(2, @sin, {1}, {2}) I expect that a and b should
> hold sin(a) and sin(b). However, they are empty. So a working snippet
> would be welcome to see how this is supposed to go.
> Thanks, Michael

parcellfun works like cellfun, so this usage is incorrect. see help
for cellfun.
Also, for questions that concern exclusively OctaveForge functions,
please use the OctaveForge mailing list.

octave:1> a = parcellfun (2, @sin, {1, 2})
parcellfun: 2/2 jobs done
a =

   0.84147   0.90930


hth

-- 
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to