[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
isnt ';' a scalar operator?
From: |
Daniel Heiserer |
Subject: |
isnt ';' a scalar operator? |
Date: |
Wed, 02 Feb 2000 13:16:06 +0100 |
Hi I would like to use the legend stuff
and for that I like to create a vector of strings
containing the ';'.
>> ';'*ones(length(dofs),1)
error: operator *: nonconformant arguments (op1 is 1x1, op2 is 8x1)
error: evaluating assignment expression near line 10, column 4
Unfortunately this doesnt work:
';'*ones(length(dofs),1)
That works, but is a little bit ugly.
setstr(abs(';')*ones(length(dofs),1))
Daniel
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- isnt ';' a scalar operator?,
Daniel Heiserer <=