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 件)

Walter Roberson
Walter Roberson 2015 年 11 月 12 日

0 投票

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 ExchangeSplines についてさらに検索

タグ

質問済み:

2015 年 11 月 11 日

回答済み:

2015 年 11 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by