How to extract variables from multiple cell arrays and import the variables into two columns
조회 수: 2 (최근 30일)
이전 댓글 표시
How do I extract variables from multiple cell arrays (with two seperate variables each) which are within a single array and transport them into two columns.
Within each cell array there are 2 variables (a and b) - I want to be able to take the variables from the cell arrays and create an array with two columns for the variables a and b.
I will then use these rows of variables to apply a function to them.
These are the cells arrays that I want to split into two columns
댓글 수: 0
채택된 답변
David Hill
2021년 3월 15일
This should work for you if I understand your correctly.
m=cell2mat(yourCellarray);
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!