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

21 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Adam
Adam il 13 Mag 2019
log( X ./ Y ) ./ Z
100 ./ log( X ./ Y ) - 50

Più risposte (2)

Tamir Eisenstein
Tamir Eisenstein il 14 Mag 2019
Thanks Adam!

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

Categorie

Scopri di più su Exponents and Logarithms in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by