using solve for 2 equations and 2 unknowns
Show older comments
using solve for 2 equations and 2 unknowns C and D
S=solve(['(x0+(b/a))^2+(y0+(D/a))^2=(C^2/(a)^2)',... '(x1+(b/a))^2+(y1+(D/a))^2=(C^2/(a)^2)'],['C','D']);
Answers (1)
Torsten
on 13 May 2015
0 votes
ok, and what's your question ?
Best wishes
Torsten.
2 Comments
Michael Lewis
on 13 May 2015
Torsten
on 13 May 2015
syms C D x0 y0 a b
[solC,solD]=solve([(x0+b/a)^2+(y0+D/a)^2==C^2/a^2,(x1+b/a)^2+(y1+D/a)^2==C^2/a^2],[C,D])
does not work ?
Best wishes
Torsten.
Categories
Find more on Numeric Solvers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!