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

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Star Strider
Star Strider il 16 Lug 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 Commenti
Riccardo Bassoli
Riccardo Bassoli il 16 Lug 2018
Ok, with the update works. Thanks for your time! Have a nice day.
Star Strider
Star Strider il 16 Lug 2018
My pleasure!
If my Answer helped you solve your problem, please Accept it!

Accedi per commentare.

Più risposte (2)

sahali yamina
sahali yamina il 17 Lug 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 il 17 Lug 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!

Translated by