Effacer les filtres
Effacer les filtres

Combining 4 column matrices to form a new single matrix having its column as those column matrices

1 vue (au cours des 30 derniers jours)
Iam working on a project where i have 4 different images and their matrices,I have to convert each of these matrices into column matrix and then using all the four column matrices I have to form a new single matrix whose each column is the corresponding column matrices.

Réponses (1)

the cyclist
the cyclist le 25 Mar 2011
Your four input image matrices:
a = rand(5);
b = rand(5);
c = rand(5);
d = rand(5);
Output matrix, where each input matrix is a column:
e = [a(:),b(:),c(:),d(:)];

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by