Error with "syms" function
Ältere Kommentare anzeigen
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
Antworten (1)
Walter Roberson
am 12 Nov. 2015
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.
Kategorien
Mehr zu Splines finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!