help-octave
[Top][All Lists]
Advanced

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

Re: any one can explain this to me? y = cat(1, y, y_temp{1:10})


From: siko1056
Subject: Re: any one can explain this to me? y = cat(1, y, y_temp{1:10})
Date: Thu, 13 Oct 2016 23:31:40 -0700 (PDT)

gabygaby wrote
> May i know what this code below means?
>  y = cat(1, y, y_temp{1:10})

Your code means, that you want to concatenate an array y and the contents of
the ten first elements of the cell array y_temp alongside the first
dimension. See

https://www.gnu.org/software/octave/doc/v4.0.3/Rearranging-Matrices.html#index-cat

and

https://www.gnu.org/software/octave/doc/v4.0.3/Indexing-Cell-Arrays.html#Indexing-Cell-Arrays

HTH, Kai



--
View this message in context: 
http://octave.1599824.n4.nabble.com/any-one-can-explain-this-to-me-y-cat-1-y-y-temp-1-10-tp4680120p4680122.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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