help-octave
[Top][All Lists]
Advanced

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

how insert char in Cell Array


From: LucaLuca
Subject: how insert char in Cell Array
Date: Sat, 25 Aug 2018 20:57:30 -0500 (CDT)

hi,

i want to convert cell in matrix

i do an example:

c = {"1", "2", "3"; "x", "y", "z"; "4", "5", "6"};

cell2mat(c)

ans =

123
xyz
456

But it's wrong..

i want get matrix with :
 1 2 3
 x y z
 4 5 6

I was wrong to enter data in the cell?





--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

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