How to determine a domain for a function

34 views (last 30 days)
Robert D Antonio
Robert D Antonio on 13 Sep 2018
Commented: Adam Danz on 16 Sep 2018
In class, we were instructed to set up a systematic solver in Matlab in Script, not live script. This should determine when a radicand is non-negative. This is what we were told to use function f = mysolver(mytext, myvar) f=feval(symengine,'sovle',mytext,myvar,'Real'); end
Then we invoke the function in LS mysolver(27-x^3>=0,x)
No matter what variations I try to make to this, I always get incomprehensible error messages. I am a first time Matlab user. Any suggestions how to get the range where 27-x^3>=0 ?
  1 Comment
Adam Danz
Adam Danz on 16 Sep 2018
In or to help you troubleshoot your code, you'll need to provide the relevant parts of your code and the exact copy-pasted error messages you're getting along with which line in your code is producing them.

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!