Apply an element-wise calculation of an equation to a matrix

23 ビュー (過去 30 日間)
Tamir Eisenstein
Tamir Eisenstein 2019 年 5 月 13 日
回答済み: abdulrahman abdulbaki 2021 年 11 月 22 日
Hi MATLAB experts,
How should I express the following formulas in order to apply each one to each element in a 3D matrix:
1) ln(X/Y) / Z
2) 100 / ln(X/Y) - 50
Thanks!
Tamir

採用された回答

Adam
Adam 2019 年 5 月 13 日
log( X ./ Y ) ./ Z
100 ./ log( X ./ Y ) - 50

その他の回答 (2 件)

Tamir Eisenstein
Tamir Eisenstein 2019 年 5 月 14 日
Thanks Adam!

abdulrahman abdulbaki
abdulrahman abdulbaki 2021 年 11 月 22 日
Hi MATLAB experts,
how do i preform element-by-element
e^B−B∗lnA
(2*A+B)/(5ln(A))

カテゴリ

Help Center および File ExchangeExponents and Logarithms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by