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

33 vues (au cours des 30 derniers jours)
Javad Farzi
Javad Farzi le 9 Jan 2024
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 commentaire
Dyuman Joshi
Dyuman Joshi le 9 Jan 2024
I don't think the Symbolic Math Toolbox or MATLAB overall has such a function.

Connectez-vous pour commenter.

Réponses (3)

Matt J
Matt J le 9 Jan 2024
Modifié(e) : Matt J le 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 le 9 Jan 2024
The Symbolic Math Toolbox has the argnames function.

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

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by