上述非线性方程组如何准确快速求x的值,其他参数已知。

 Respuesta aceptada

0 votos

试试
function [y] = find_y(k,rou,beta)
syms x real
myfun=@(x)rou.^2/(2*x.^2)*(exp(-2*x)-1+2*x)+4*rou*(1-rou)/x.^2*(exp(-x)-1+x)-k.^2/beta;
y = vpasolve( myfun(x)==0 );
end

Más respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!