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

33 visualizaciones (últimos 30 días)
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?

Respuestas (3)

Matt J
Matt J el 9 de En. de 2024
Editada: Matt J el 9 de En. de 2024
Perhaps you are looking for assumptions?
syms x
assume(x>0);
f(x)=log(x);
assumptions(x)
ans = 

Star Strider
Star Strider el 9 de En. de 2024
The Symbolic Math Toolbox has the argnames function.

Walter Roberson
Walter Roberson el 9 de En. de 2024
No, there is no built-in function to do that.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by