How to combine two arrays with different dimensions into one array in one column.

조회 수: 2 (최근 30일)
Hey guys. Does any of you know a nifty way to combine two arrays of different dimensions into one array.
for example i want to combine
A = (3000,1)
B = (2500,1)
and i want to to combine A and B into C
C = (5500,1)

답변 (1개)

Stephen23
Stephen23 2018년 5월 3일
편집: Stephen23 2018년 5월 3일
C = [A;B]
Basic MATLAB concepts, such as how to make and concatenate arrays, are explained in the introductory tutorials (which are highly recommended for all beginners):

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by