フィルターのクリア

matrix log of certain columns

2 ビュー (過去 30 日間)
Antonio Melieni
Antonio Melieni 2019 年 4 月 1 日
コメント済み: Antonio Melieni 2019 年 4 月 1 日
Hi :)
I have to matrices 527040x4 and 527040x4
now i want to calc the log(m1c1) + log(m2c1), log(m1c2)+log(m2c2), log(m1c3)+log(m2c3) and log(m1c4)+log(m2c4)
anybody an idea :)

採用された回答

Guillaume
Guillaume 2019 年 4 月 1 日
Simply,
result = log(matrix1) + log(matrix2);
then, result(:, 1) is your log(m1c1) + log(m2c1), result(:, 2) is your log(m1c2) + log(m2c2), etc.
  1 件のコメント
Antonio Melieni
Antonio Melieni 2019 年 4 月 1 日
thx :)

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by