Borrar filtros
Borrar filtros

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

21 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Adam
Adam el 13 de Mayo de 2019
log( X ./ Y ) ./ Z
100 ./ log( X ./ Y ) - 50

Más respuestas (2)

Tamir Eisenstein
Tamir Eisenstein el 14 de Mayo de 2019
Thanks Adam!

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

Categorías

Más información sobre Exponents and Logarithms en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by