Error with "syms" function

Hello,
I now have 2 quadratic equations with 2 known and 2 unknown.
(x1-xc)^2+(y1-yc)^2=R^2
(x2-xc)^2+(y2-yc)^2=R^2
I know the values for x1,x2,y1,y2 and R, these can be input manually in the script. I need to find xc and yc. Based on a recommendation I wrote the below script to find xc and yc-
syms xc;
syms yc;
[x y] = solve('(x1-xc)^2+(y1-yc)^2=R^2 ,(x2-xc)^2+(y2-yc)^2=R^2')
But I get the below error message
??? Undefined function or method 'syms' for input arguments of type 'char'.
Can anybody please help me with this error message

回答(1 个)

It means that you either do not have the symbolic toolbox installed or else you do not have it licensed. Use the command
ver
to find out what you have installed.

类别

帮助中心File Exchange 中查找有关 Splines 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by