[Top][All Lists]

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

extending arrays

From: Dave Comer
Subject: extending arrays
Date: Fri, 28 Feb 1997 21:32:56 -0700

Can anyone tell me the Octave quivalen of the following (valid)
Matlab statement:

dydx = [ 1, dydx ];

dydx is a 120 x 1 element array. The idea is to add one element to
the array. When I execute this in octave I get the following:

octave:29> size(dydx)
ans =

  120    1

octave:30> dydx = [1, dydx];
error: number of rows must match near line 30, column 12
error: evaluating assignment expression near line 30, column 6


Dave Comer

reply via email to

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