Borrar filtros
Borrar filtros

How to take logarithm of a function in matlab?

1 visualización (últimos 30 días)
Tanvir Kaisar
Tanvir Kaisar el 10 de Nov. de 2016
Comentada: Walter Roberson el 10 de Nov. de 2016
I have defined a function f=inline('x*y','x','y').That is f(x,y)=x*y.
How can i take log of this function?

Respuestas (1)

Walter Roberson
Walter Roberson el 10 de Nov. de 2016
logf = @(x, y) log(f(x, y))
  2 comentarios
Tanvir Kaisar
Tanvir Kaisar el 10 de Nov. de 2016
But I want to get log(x)+log(y) from taking logarithm of the function (x*y)..MATLAB simply shows log(x*y)
Walter Roberson
Walter Roberson el 10 de Nov. de 2016
That is a different question that you already asked and I already answered.

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by