フィルターのクリア

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 Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by