accessing tall cell arrays of type char
조회 수: 1 (최근 30일)
이전 댓글 표시
so i am doing some experiments with tall cell arrays
normally with a cell array to gain access to the data i need to say like
array{1,2} and i get back whatever
However, apparently, brackets are not supported by tall arrays.
So my question is?????? How the heck do i get to chars in the cell array if i cant use {} brackets?
I cant seem to find any info anywhere unless i missed it.
Thanks in advance
댓글 수: 0
답변 (1개)
Mohammad Sami
2021년 8월 6일
You will need to use gather function after you have completed all the operations on the data.
a = tall({'aa' 'bb' 'cc'; 'dd' 'ee' 'ff'; 'gg' 'hh' 'ii'});
b = a(1,1:2);
gather(b)
참고 항목
카테고리
Help Center 및 File Exchange에서 Tall Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!