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

13 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by