help-octave
[Top][All Lists]
Advanced

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

[arrayfun] How to use "UniformOutput" ?


From: Tadeus \"Eus\" Prastowo
Subject: [arrayfun] How to use "UniformOutput" ?
Date: Sat, 25 Sep 2010 01:03:49 +0200

HiHo!

I am using Octave 3.0.1 on GNU/Linux Ubuntu Jaunty 9.04.

Following the example on http://www.gnu.org/software/octave/doc/interpreter/Applying-a-Function-to-an-Array.html#Applying-a-Function-to-an-Array,

arrayfun (@(x,y) x:y, "abc", "def", "UniformOutput", false) should work.

But, I get the following error instead:

error: octave_base_value::cell_value(): wrong type argument `bool'
error: cellfun: Dimension mismatch
error: called from `arrayfun' in file `/usr/share/octave/3.0.1/m/general/arrayfun.m'

Is the manual wrong or does the program have a bug?

Thank you.

--
Best regards,
Eus (FSF member #4445)

In this digital era, where computing technology is pervasive, your
freedom depends on the software controlling those computing devices.

Join free software movement today! It is free as in freedom, not as in
free beer!

Join: http://www.fsf.org/


reply via email to

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