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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

gabygaby
May i know what this code below means?
 y = cat(1, y, y_temp{1:10})
Reply | Threaded
Open this post in threaded view
|

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

siko1056
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