Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
ck
ck am 18 Mai 2016
Beantwortet: Image Analyst am 18 Mai 2016
concatenating matrices
  1 Kommentar
the cyclist
the cyclist am 18 Mai 2016
This isn't Twitter. Please describe what you are trying to do in some detail, to help us help you.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Todd Leonhardt
Todd Leonhardt am 18 Mai 2016
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 am 18 Mai 2016

Kategorien

Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by