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

20 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

Adam
Adam am 13 Mai 2019
log( X ./ Y ) ./ Z
100 ./ log( X ./ Y ) - 50

Weitere Antworten (2)

Tamir Eisenstein
Tamir Eisenstein am 14 Mai 2019
Thanks Adam!

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

Kategorien

Mehr zu Exponents and Logarithms finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by