solve a system of equations
2 次查看(过去 30 天)
显示 更早的评论
Hello, I have the follow equation. Then I want to find out the value of x,y and r
(x-1)^2+(y-1)^2=r ^(x-0)^2+(y-2)^2=r ^ (x-1)^2+(y-2)^2=r
how can I solve it on Matlab?
Thanks
1 个评论
回答(1 个)
Alex Sha
2019-5-6
There are multi-solutions:
1:
x: -4.93419751895286
y: -16.1073500969731
r: 327.876127534353
2:
x: -3.55619697118012
y: -8.87946542009547
r: 118.362767827053
3:
x: -3.85130217536713
y: -10.2675663983609
r: 150.493185338195
4:
x: 1.00026181053261
y: 1.99999996572762
r: 1
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!