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

13 vues (au cours des 30 derniers jours)
Lidor Levi
Lidor Levi le 13 Sep 2018
Modifié(e) : Lidor Levi le 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

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices 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