How can I convert (x,y) points(double) into cell
조회 수: 2 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
추가 답변 (1개)
Ogechukwu ILOANUSI
2020년 11월 7일
편집: Ogechukwu ILOANUSI
2020년 11월 7일
adaka = rand(5,2)
adakastring = string(adaka)
or
adakacell = cellstr(string(adaka))
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!