MATLAB Answers

Solve one variable equation in Interval

5 views (last 30 days)
David Pfurtscheller
David Pfurtscheller on 19 Aug 2019
Answered: Torsten on 19 Aug 2019
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

  0 Comments

Sign in to comment.

Answers (1)

Torsten
Torsten on 19 Aug 2019
x = (Tem.'*Tem)/(Tem.'*Tshaft)
where Tem, Tshaft are column vectors of the same length.

  0 Comments

Sign in to comment.

Sign in to answer this question.