フィルターのクリア

Matrix multiplication element wise

3 ビュー (過去 30 日間)
Shambhu Prasad
Shambhu Prasad 2019 年 3 月 18 日
コメント済み: Shambhu Prasad 2019 年 3 月 18 日
I have two matrices A and B of the order 49*49 each. I want to generate third matrix C whose elements are product of individual elements of A and B (not matrix multiplication)
Like C(i,j) = A(i,j)*B(j,i). What could be the matlab command for this.
Thanks in advance..

採用された回答

madhan ravi
madhan ravi 2019 年 3 月 18 日
A.*B.'
% ^-—-—-I can see in your code you swapped indices for B(j,i)
doc times
  3 件のコメント
madhan ravi
madhan ravi 2019 年 3 月 18 日
illustrate with an example if it doesn't do what you want
Shambhu Prasad
Shambhu Prasad 2019 年 3 月 18 日
Ok Sir.. Got it.
Thanks a lot..

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

その他の回答 (0 件)

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by