How can I convert (x,y) points(double) into cell
Mostrar comentarios más antiguos
Hi I have set of points which I want to store as cells .
0 8
0 59
4 20
4 47
5 23
5 44
9 20
Any idea how to do this. Part of my code is attached where output of C is shown above.
.
.
.
C=zeros(256,2);
B=zeros(186,2);
C=[points; B];
C(:,2)={C}or
{C(:,2)}=C
Respuesta aceptada
Más respuestas (1)
Ogechukwu ILOANUSI
el 7 de Nov. de 2020
Editada: Ogechukwu ILOANUSI
el 7 de Nov. de 2020
0 votos
adaka = rand(5,2)
adakastring = string(adaka)
or
adakacell = cellstr(string(adaka))
Categorías
Más información sobre Text Analytics Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!