필터 지우기
필터 지우기

how can i concatenate matrices of diffrent data types and dimensions?

조회 수: 2 (최근 30일)
ck
ck 2016년 5월 18일
답변: Image Analyst 2016년 5월 18일
concatenating matrices
  댓글 수: 1
the cyclist
the cyclist 2016년 5월 18일
This isn't Twitter. Please describe what you are trying to do in some detail, to help us help you.

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

답변 (2개)

Todd Leonhardt
Todd Leonhardt 2016년 5월 18일
You are probably looking for a "cell array": http://www.mathworks.com/help/matlab/cell-arrays.html
These are arrays that can contain data of varying types and sizes.
If you have two matrices, say M1 and M2, you can combine them into a cell array like so:
C = {M1 M2}
or
C = {M1; M2}

Image Analyst
Image Analyst 2016년 5월 18일

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by