[Top][All Lists]

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

Re: Append vector to another vector

From: Colin Macdonald
Subject: Re: Append vector to another vector
Date: Wed, 3 Oct 2018 10:44:03 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

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]


reply via email to

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