How to concatenate two feature vectors?

조회 수: 1 (최근 30일)
Annie Lodhi
Annie Lodhi 2019년 7월 28일
편집: KALYAN ACHARJYA 2019년 7월 28일
I have to make a linear combination or concatinate two feature vectors. Is there any way or any built in function available on matlab to concatinate two feature vectors to fuse them into single vectors ?
The equetion use for linear combination is
features (<C i , C j > ) = < f i 1 , ···, f ik , f j1 ···, f jk , D > .
Please give some suggetions.

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 7월 28일
편집: KALYAN ACHARJYA 2019년 7월 28일
How to concatenate two feature vectors?
Say a and b are two vectors
result=[a;b] % If a and b have same column number
or
result=[a,b] %% If a and b have same rows number
If you want concatenate horizontally use , and if you want to concatenate vertically use ;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by