'syms' and 'gcd' not working in MATLAB 2018a

1 view (last 30 days)
By typing x = sym('x')
or
syms x gcd(x^3 - 3*x^2 + 3*x - 1, x^2 - 5*x + 4)
from the examples, MATLAB command window remains active without any result. Then, I have to force MATLAB to exit by using the cursor.

Accepted Answer

Star Strider
Star Strider on 16 Jul 2018
Your code works for me.
Note that I already did the update described in: "syms", "sym", and "mupad" functions cause MATLAB to freeze (link).
  4 Comments
Riccardo Bassoli
Riccardo Bassoli on 16 Jul 2018
Ok, with the update works. Thanks for your time! Have a nice day.
Star Strider
Star Strider on 16 Jul 2018
My pleasure!
If my Answer helped you solve your problem, please Accept it!

Sign in to comment.

More Answers (2)

sahali yamina
sahali yamina on 17 Jul 2018
Dear sir, Why i can convert a laplace function to z function in matlab directly (without ilaplace). thanks in advance

sahali yamina
sahali yamina on 17 Jul 2018
can you give me the answer in the following adress: ya_sahali@yahoo.fr

Community Treasure Hunt

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

Start Hunting!