solve returns variable name instead of value

2 views (last 30 days)
When running the solve() command, no matter how complex or simple, it will return the variable name instead of its value.

Accepted Answer

Frederik Jensen
Frederik Jensen on 18 May 2021
Solved it by uninstalling the Maple toolbox, i had the two accounts connected and it somehow caused trouble.
It can be unsinstalled through the "Programs and Features" menu in the Control Panel.

More Answers (1)

Rik
Rik on 17 May 2021
This is exactly as documented.
syms x
result=solve(4 == 2+x,x)
result = 
2
res=double(result) %convert symbolic to double
res = 2
  7 Comments
Rik
Rik on 18 May 2021
I don't have a license for the symbolic toolbox or Maple, so I can't reproduce your system. I can only run code from the symbolic toolbox in Answers.
Frederik Jensen
Frederik Jensen on 18 May 2021
Solved it by uninstalling the Maple toolbox, i had the two accounts connected and it somehow caused trouble.

Sign in to comment.

Tags

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!