如何在Matlab中隐式求解一个方程式? [英] How can I implicitly solve a single equation in Matlab?

查看:908
本文介绍了如何在Matlab中隐式求解一个方程式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MATLAB将为M求解以下方程式:

The following equation is to be solved for M by MATLAB:

(Atemp/At)^2=1/M^2*((2/(gamma+1))*(1+(gamma-1)*M^2/2))^((gamma+1)/(gamma-1))

不可能用符号求解该方程.在Maple中,可以很容易地隐式求解该方程.现在,在Matlab中还有一个预制函数可以为我执行此操作吗?我可以自己编程,但是由于我的技能有限,因此它的性能无法满足我的需求.

It is not possible to solve this equation symbolically. In Maple it is easily possible to solve such an equation implicitly; now, is there also a pre-made function in Matlab that does this for me? I could program one myself, but as my skills are limited, its performance would not fit my needs.

推荐答案

我会尝试使用 fzero ,或者如果由于复杂的值/无限而遇到问题,请

I would try using fzero, or if that encounters problems because of complex values/infinities, fminbnd.

这篇关于如何在Matlab中隐式求解一个方程式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆