请问用solve函数​求方程出不来解,是不​是得用fslove函​数!。

Tr_t=T_i*(Pr_t/P_i).^((r-1)/r);
%求解质量流量
m_t=-m_i/r./Pr_t.*(Pr_t/P_i).^(1/r).*dPr_t;
syms Mu_t;
f=Pu_t*((r/R)^0.5)*A*Mu_t./(Tr_t.^0.5)/(1+(r-1)*(Mu_t.^2)/2)^0.5-m_t;
Mu_t=solve(f,'Mu_t');

 Respuesta aceptada

vifiyi
vifiyi el 22 de Nov. de 2022

0 votos

这么长的程序没人看。
如果lz不能提供更加有效的信息,我只能说,如果solve的报错是找不到显式解,那就试试fsolve。

Más respuestas (0)

Categorías

Más información sobre MATLAB 快速入门 en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 22 de Nov. de 2022

Respondida:

el 22 de Nov. de 2022

Community Treasure Hunt

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

Start Hunting!