How to concatenate two feature vectors?

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.

 Accepted Answer

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 ;

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!