Effacer les filtres
Effacer les filtres

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

15 vues (au cours des 30 derniers jours)
Tamir Eisenstein
Tamir Eisenstein le 13 Mai 2019
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

Réponse acceptée

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

Plus de réponses (2)

Tamir Eisenstein
Tamir Eisenstein le 14 Mai 2019
Thanks Adam!

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

Catégories

En savoir plus sur Exponents and Logarithms dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by