inconsistent row <-> column sub-vector behavior

John W. Eaton jwe at bevo.che.wisc.edu
Fri Aug 22 15:46:54 CDT 2008


On 22-Aug-2008, Sergei Steshenko wrote:

| If fails the same way if I write
| 
| column_vector(2:vector_length) = column_vector(2:vector_length) + row_vector(2:vector_length)
| .
| 
| What does Matlab do in this case ?

It fails because the column vector and the row vector do not have
compatible dimensions.

jwe


More information about the Bug-octave mailing list