MATLAB Answers

0

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

Asked by Tamir Eisenstein on 13 May 2019
Latest activity Answered by Tamir Eisenstein on 14 May 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

  0 Comments

Sign in to comment.

2 Answers

Answer by Adam
on 13 May 2019
 Accepted Answer

log( X ./ Y ) ./ Z
100 ./ log( X ./ Y ) - 50

  0 Comments

Sign in to comment.


Answer by Tamir Eisenstein on 14 May 2019

Thanks Adam!

  0 Comments

Sign in to comment.