iam having a matrix of (128*128*24)and another of 128*128 double..how can i concatenate this..

1 vue (au cours des 30 derniers jours)
iam having a matrix of (128*128*24)and another of 128*128 double..how can i concatenate this..

Réponses (2)

Matt J
Matt J le 19 Oct 2012
  6 commentaires
Benitta glara
Benitta glara le 20 Oct 2012
ok...now i had another doubt..iam using two class svm classifier..in that my scale factor is 24..how can I change that..
Matt J
Matt J le 20 Oct 2012
Modifié(e) : Matt J le 20 Oct 2012
Best to ask that in a separate post, with a title that will catch the eye of machine learning specialists.

Connectez-vous pour commenter.


Azzi Abdelmalek
Azzi Abdelmalek le 19 Oct 2012
Modifié(e) : Azzi Abdelmalek le 19 Oct 2012
your first matrix A size is 128*128*24. If you concatenate any matrix to A the result size, obviously will change! why are you expecting the final size to be the same? have you read Matt's comment?
  1 commentaire
Azzi Abdelmalek
Azzi Abdelmalek le 19 Oct 2012
Unless you want to replace one matrix by another, in this case use for example
A=rand(128,128,4);B=rand(128,128)
A(:,:,1)=B;

Connectez-vous pour commenter.

Catégories

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

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by