MATLAB: 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..

concatenatefeature

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..

Best Answer

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!!!