help-octave
[Top][All Lists]
Advanced

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

Re: Append vector to another vector


From: Marco Atzeri
Subject: Re: Append vector to another vector
Date: Wed, 3 Oct 2018 19:49:18 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Am 03.10.2018 um 19:44 schrieb Colin Macdonald:
On 2018-10-03 10:39 a.m., turbofib wrote:
i try this:

  a(end+1)=[6 7 8]

but i receive error
( i need append vector..not a single scalar)

a(end+1) = 6
a(end+1) = 7
a(end+1) = 8

or something like

a(end+1:end+3) = [6 7 8]

cheers


also

a=[1 2 3]
a =

   1   2   3

 a=[a 4 5 6]
a =

   1   2   3   4   5   6

a=[a 7 8 9]
a =

   1   2   3   4   5   6   7   8   9


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus




reply via email to

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