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

Respuestas (1)

Walter Roberson
Walter Roberson el 12 de Nov. de 2015

0 votos

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.

Categorías

Etiquetas

Preguntada:

el 11 de Nov. de 2015

Respondida:

el 12 de Nov. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by