结果出现复数。
古いコメントを表示
unction output=myfun(x)
output(1)=x(1)^2-108*x(1)+x(2)^2+x(4)+2660;
output(2)=x(1)^2-108*x(1)+x(2)^2+x(5)+2659.7664;
output(3)=5.3*sqrt(x(1)^2-108*x(1)+x(2)^2+2660)-x(3)*sqrt(108*x(1)-x(1)^2-x(2)^2-1259.51)+x(6);
为什么结果出现负数
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Parallel Computing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!