フィルターのクリア

Is there a Matlab built in function to determine the domain of a function?

14 ビュー (過去 30 日間)
Javad Farzi
Javad Farzi 2024 年 1 月 9 日
回答済み: Walter Roberson 2024 年 1 月 9 日
Is there a Matlab built in function to determine the domain of a function? A Mathematica variant is FunctionDomain. Does Symbolic Toolbox of Matlab have a similar function?
  1 件のコメント
Dyuman Joshi
Dyuman Joshi 2024 年 1 月 9 日
I don't think the Symbolic Math Toolbox or MATLAB overall has such a function.

サインインしてコメントする。

回答 (3 件)

Matt J
Matt J 2024 年 1 月 9 日
編集済み: Matt J 2024 年 1 月 9 日
Perhaps you are looking for assumptions?
syms x
assume(x>0);
f(x)=log(x);
assumptions(x)
ans = 
  1 件のコメント
Dyuman Joshi
Dyuman Joshi 2024 年 1 月 9 日
That does not return the domain of a function though.

サインインしてコメントする。


Star Strider
Star Strider 2024 年 1 月 9 日
The Symbolic Math Toolbox has the argnames function.

Walter Roberson
Walter Roberson 2024 年 1 月 9 日
No, there is no built-in function to do that.

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by