Filter löschen
Filter löschen

How to append different length column matrix to the end of a matrix?

4 Ansichten (letzte 30 Tage)
Hi,
I want to add different length column matrix at the end of the matrix.
For example,
In 1 iteration, add 2 x1 matrix,
then in 2nd iteration, add 4 x 1 matrix,
then in 3rd iteration, add 6 x 1 matrix.
please suggest how to do this.
Thanks

Akzeptierte Antwort

Star Strider
Star Strider am 26 Dez. 2021
One option is the cat function, another option is to use the square brackets [] concatenation operator.
.
  5 Kommentare
SANDEEP SINGH RANA
SANDEEP SINGH RANA am 28 Dez. 2021
Some problem is there in my function.
I will correct it. But thank you for the help.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by