Clear Filters
Clear Filters

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

14 views (last 30 days)
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?

Answers (3)

Matt J
Matt J on 9 Jan 2024
Edited: Matt J on 9 Jan 2024
Perhaps you are looking for assumptions?
syms x
assume(x>0);
f(x)=log(x);
assumptions(x)
ans = 

Star Strider
Star Strider on 9 Jan 2024
The Symbolic Math Toolbox has the argnames function.

Walter Roberson
Walter Roberson on 9 Jan 2024
No, there is no built-in function to do that.

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!