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 visualización (últimos 30 días)
I have the two file Deciyear and DeciYear1 each having different matrix i.e., 1x122 and 1x128 , how can I concatenate this?

Respuesta aceptada

David Hill
David Hill el 19 de Mayo de 2022
DeciYear=readmatrix('DeciYear.xlsx');
DeciYear1=readmatrix('DeciYear1.xlsx');
dy=[DeciYear,DeciYear1];

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by