how to use "ln" function on each elemnets of the matrix?

59 views (last 30 days)
hi
I would like to use ln (natural logarithm) function on each of the matrix element, how can I do that?
with out using loop

Accepted Answer

Andrei Bobrov
Andrei Bobrov on 13 Sep 2018
Here yourmatrix - double array.
log(yourmatrix)

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!