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

15 次查看(过去 30 天)
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
Hi MATLAB experts,
how do i preform element-by-element
e^B−B∗lnA
(2*A+B)/(5ln(A))

类别

Help CenterFile Exchange 中查找有关 Exponents and Logarithms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by