Thanks, it's nice to know that I can turn things into tex. But it's not what I want. I'd like to define the solutions as branches of a multivalued function which I can feed back into MATLAB. Of course, this is just a simple example which I created for the issue I'm having. I used to get my answer in the following format: e.g. sqrt(5/2 + sqrt(w^2 + 9/4)) which is what I'm after. I'm using version R2022b.
I'm using MATLAB R2022b, all was working fine untill today. Something has definitely changed! It has not complained about license issues. Can you tell me how to check that the Symbolic Toolbox is still licensed and installed? Thanks for your help
Typing ver gave me a big list, which did not contain "Symbolic Math Toolbox". I'll spare you the list, but have it on file for the IT-department. Then I typed what you said and it gave me:
When closing MATLAB and reopening I'm back to where I was, namely
syms x y
>> solve(x-y^2,y)
ans =
[ 1/2 ]
[x ]
[ ]
[ 1/2]
[-x ]
and ver giving me a list which does not include the Symbolic Math Toolbox. Current plan is to ask IT to reinstall MATLAB and hope this solves the problem. Thanks again!
After reinstalling MATLAB and restarting my computer, things are working well again. IT suggested that maybe a restart of the computer could have fixed the problem (I tend to not do that often enough, sorry).
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.