using solve for 2 equations and 2 unknowns
Mostra commenti meno recenti
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']);
Risposte (1)
Torsten
il 13 Mag 2015
0 voti
ok, and what's your question ?
Best wishes
Torsten.
2 Commenti
Michael Lewis
il 13 Mag 2015
Torsten
il 13 Mag 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.
Categorie
Scopri di più su Numeric Solvers in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!