i have to fuse two features i had concatenated it horizontally..to concatenate it should be in equal dimension..how can i make it to be in equal dimension..

1 Ansicht (letzte 30 Tage)
i have to fuse two features i had concatenated it horizontally..to concatenate it should be in equal dimension..how can i make it to be in equal dimension..

Akzeptierte Antwort

Sachin Ganjare
Sachin Ganjare am 18 Okt. 2012
Bearbeitet: Sachin Ganjare am 18 Okt. 2012
Suppose;
A = [1 2;3 4]
B= [1 2 3;1 2 3;1 2 3]
Then,
A(3,3) = 0
Command will pad the array A with zero for further concatenation operations.
Hope it helps!!!

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