フィルターのクリア

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

1 回表示 (過去 30 日間)
Benitta glara
Benitta glara 2012 年 10 月 19 日
iam having a matrix of (128*128*24)and another of 128*128 double..how can i concatenate this..

回答 (2 件)

Matt J
Matt J 2012 年 10 月 19 日
  6 件のコメント
Benitta glara
Benitta glara 2012 年 10 月 20 日
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 2012 年 10 月 20 日
編集済み: Matt J 2012 年 10 月 20 日
Best to ask that in a separate post, with a title that will catch the eye of machine learning specialists.

サインインしてコメントする。


Azzi Abdelmalek
Azzi Abdelmalek 2012 年 10 月 19 日
編集済み: Azzi Abdelmalek 2012 年 10 月 19 日
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 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2012 年 10 月 19 日
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;

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by