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

13 Ansichten (letzte 30 Tage)
Lidor Levi
Lidor Levi am 13 Sep. 2018
Bearbeitet: Lidor Levi am 13 Sep. 2018
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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by