请问用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 Exchange에서 MATLAB 快速入门에 대해 자세히 알아보기

태그

질문:

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!