필터 지우기
필터 지우기

How to combine cells into a single cell?

조회 수: 1 (최근 30일)
Sim
Sim 2024년 5월 21일
댓글: Voss 2024년 5월 21일
How to pass from "a" to "b", here following?
a = [{'[1,2)'}, {'[2,6)'},{'[6,11)'}]; % input
b = {'[1,2)','[2,6)','[6,11)'}; % desired output
I tried cat, but, it does not work:
b = cat(1,a{:})
Error using cat
Dimensions of arrays being concatenated are not consistent.

채택된 답변

Voss
Voss 2024년 5월 21일
  댓글 수: 4
Sim
Sim 2024년 5월 21일
thanks!
Voss
Voss 2024년 5월 21일
You're welcome!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by