필터 지우기
필터 지우기

How to take logarithm of a function in matlab?

조회 수: 1 (최근 30일)
Tanvir Kaisar
Tanvir Kaisar 2016년 11월 10일
댓글: Walter Roberson 2016년 11월 10일
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?

답변 (1개)

Walter Roberson
Walter Roberson 2016년 11월 10일
logf = @(x, y) log(f(x, y))
  댓글 수: 2
Tanvir Kaisar
Tanvir Kaisar 2016년 11월 10일
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 2016년 11월 10일
That is a different question that you already asked and I already answered.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by