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 Exchange에서 Splines에 대해 자세히 알아보기

태그

질문:

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