combing rows into one row
조회 수: 16 (최근 30일)
이전 댓글 표시
Hello, I have a matfile looking like that
I need to combine all the rows (excluding the 1st row and 1 column), I've tried to use num2cell and it doesnt work.
Does anyone know how to do that?
댓글 수: 0
답변 (1개)
Stephan
2022년 12월 1일
I assume you want to have all values in a row vector:
YouWant = reshape(MeanTemp(2:end,2:end),1,[]);
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!