How to take logarithm of a function in matlab?

2 Ansichten (letzte 30 Tage)
Tanvir Kaisar
Tanvir Kaisar am 10 Nov. 2016
Kommentiert: Walter Roberson am 10 Nov. 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?

Antworten (1)

Walter Roberson
Walter Roberson am 10 Nov. 2016
logf = @(x, y) log(f(x, y))
  2 Kommentare
Tanvir Kaisar
Tanvir Kaisar am 10 Nov. 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 am 10 Nov. 2016
That is a different question that you already asked and I already answered.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by