log
Natural logarithm of entries of symbolic matrix
Syntax
Description
Examples
Compute Natural Logarithm
Compute the natural logarithm of each entry of this symbolic matrix:
syms x M = x*hilb(2); log(M)
ans = [ log(x), log(x/2)] [ log(x/2), log(x/3)]
Differentiate Symbolic Expression
Differentiate this symbolic expression:
syms x diff(log(x^3), x)
ans = 3/x