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

 Réponse acceptée

0 votes

试试
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

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!