How to form a Multiplicative combination of two feature vectors ?
2 views (last 30 days)
Show older comments
Annie Lodhi
on 28 Jul 2019
Answered: Walter Roberson
on 28 Jul 2019
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 > ,
2 Comments
Accepted Answer
Walter Roberson
on 28 Jul 2019
C = vector1(:) * vector2(:).';
This works regardless of whether vector1 and vector2 are row or column vectors.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!