필터 지우기
필터 지우기

concatenate multidimentional tables

조회 수: 1 (최근 30일)
Mary Kodogianni
Mary Kodogianni 2011년 1월 29일
Hello everybody, I 'm working my project,and i must add,concatenate 2dimentional arrays. Does anybody know an effective algorithm to do this? Thanks in advantage..

채택된 답변

Jiro Doke
Jiro Doke 2011년 1월 29일
Since you aren't very descriptive with your question, I would simply suggest reading up on Matrix Concatenation from the documentation:

추가 답변 (1개)

Jan
Jan 2011년 1월 29일
A surprising question. If you want to concatenate two matrices horizontally:
C = [A, B];
And vertically:
C = [A; B];
Perhaps you have a more complicated problem to solve?! Are you talking of a large cell vektor containing a lot of matrices and suffer from CAT, which fails to use an efficient pre-allocation method?

카테고리

Help CenterFile Exchange에서 Tables에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by