东华大学matlab数学实验-第四次答案(4)
时间:2025-07-11
时间:2025-07-11
>> fzero(fun,2)
ans =
2.1155
3
>> fun=@ (x)[7/10*sin(x(1))+2/10*cos(x(2))-x(1),7/10*cos(x(1))-2/10*sin(x(2))-x(2)]; >> [x,f,h]=fsolve(fun,[0,0])
Equation solved.
fsolve completed because the vector of function values is near zero
as measured by the default value of the function tolerance, and
the problem appears regular as measured by the gradient.
<stopping criteria details>
x =