I want to concatenate two matrix of size 1x122 and 1x128, but I am getting error of "Dimensions of arrays being concatenated are not consistent" , how can I solve the issue ?

조회 수: 1 (최근 30일)
I have the two file Deciyear and DeciYear1 each having different matrix i.e., 1x122 and 1x128 , how can I concatenate this?

채택된 답변

David Hill
David Hill 2022년 5월 19일
DeciYear=readmatrix('DeciYear.xlsx');
DeciYear1=readmatrix('DeciYear1.xlsx');
dy=[DeciYear,DeciYear1];

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by