How to form a Multiplicative combination of two feature vectors ?

4 visualizzazioni (ultimi 30 giorni)
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 > ,

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by