Solve one variable equation in Interval

조회 수: 5 (최근 30일)
David Pfurtscheller
David Pfurtscheller 2019년 8월 19일
답변: Torsten 2019년 8월 19일
Hello,
I have an equation like :
error = Tem - 1/x * Tshaft
Here the Tem is input experimental data and Tshaft is computed data. The x represents a efficiency. I would like to find a efficiency to minimize my error. Because the effciency varies in the interval [0 1] fsolve is not applicable ( right ? ). I tried to use fzero and solve but didn´t get statisfying solutions. Are there any other solve commands I could possibly use ?
Thanks already

답변 (1개)

Torsten
Torsten 2019년 8월 19일
x = (Tem.'*Tem)/(Tem.'*Tshaft)
where Tem, Tshaft are column vectors of the same length.

카테고리

Help CenterFile Exchange에서 Systems of Nonlinear Equations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by