请问用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');

 Réponse acceptée

vifiyi
vifiyi le 22 Nov 2022

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB 快速入门 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!