How to form a Multiplicative combination of two feature vectors ?

2 ビュー (過去 30 日間)
Annie Lodhi
Annie Lodhi 2019 年 7 月 28 日
回答済み: Walter Roberson 2019 年 7 月 28 日
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 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 7 月 28 日
How to ask a question? Please read here.
Walter Roberson
Walter Roberson 2019 年 7 月 28 日
The references to f_ik implies that f is 2D, not a vector.

サインインしてコメントする。

採用された回答

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by