using solve for 2 equations and 2 unknowns
古いコメントを表示
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']);
回答 (1 件)
Torsten
2015 年 5 月 13 日
0 投票
ok, and what's your question ?
Best wishes
Torsten.
2 件のコメント
Michael Lewis
2015 年 5 月 13 日
Torsten
2015 年 5 月 13 日
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.
カテゴリ
ヘルプ センター および File Exchange で Numeric Solvers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!