How to form a Multiplicative combination of two feature vectors ?

2 Ansichten (letzte 30 Tage)
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 Kommentare
KALYAN ACHARJYA
KALYAN ACHARJYA am 28 Jul. 2019
How to ask a question? Please read here.
Walter Roberson
Walter Roberson am 28 Jul. 2019
The references to f_ik implies that f is 2D, not a vector.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by