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

 採用された回答

vifiyi
vifiyi 2022 年 11 月 22 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB 快速入门 についてさらに検索

タグ

質問済み:

2022 年 11 月 22 日

回答済み:

2022 年 11 月 22 日

Community Treasure Hunt

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

Start Hunting!