필터 지우기
필터 지우기

Converting from 1 x n x 3 to n x 3

조회 수: 402 (최근 30일)
C Smyth
C Smyth 2018년 2월 28일
답변: KL 2018년 2월 28일
I have a file with the data as image one. But my code will only work if the data is in a n x 3 matrix (e.g. image 2)

채택된 답변

KL
KL 2018년 2월 28일
squeeze(your_matrix)
eg: squeeze(1xnx3) gives you nx3 matrix

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by