proper syntax for vector concatenation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

proper syntax for vector concatenation

ira b ekhaus


hi,
I saw in a readme file that octave's parser gets  confused
with spaces on the RHS of a vector definition, and that
the solution was to remove white space.

I'm trying to use expressions of the form
c=[a,b]
where
a=1:n;b=n/2:20;
(or something like that)

 I can't find any equivalent expressions
in the examples that would show the successful
variation.

HELP!!

Ira Ekhaus
Senior Scientist
AARC
4 A St
Burlington MA 01803
[hidden email]
617 273 2400