In Octave Forge (i.e. Octave 3.2.4) I type:
> vector = [1 2 3 4 5]> [vector; zeros(1,8-8)]
Then I get this answer:error: number of columns must match (0 != 5)
Now, if I type:> zeros(1,8-8)> [vector; []]
I got the correct answer:ans =           1           2           3           4  
         5
Matlab doesn't complains about the first two lines and gives the correct answer.
Maybe the newest version of Octave runs fine.
Thanks,
                                          
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to