How to form a Multiplicative combination of two feature vectors ?

2 views (last 30 days)
Is there any way or built in function available on matlab to form a multiplicative combination of two feature vectors?
For example by using the following type of equetion.
features (<C i , C j > ) = < f i 1 ∗f j1 , ···, f ik ∗f jk , D > ,

Accepted Answer

Walter Roberson
Walter Roberson on 28 Jul 2019
C = vector1(:) * vector2(:).';
This works regardless of whether vector1 and vector2 are row or column vectors.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!