Calculating a function variable for a specific output

2 Ansichten (letzte 30 Tage)
ILAYDA GULSEN KOCAK
ILAYDA GULSEN KOCAK am 23 Mai 2021
Beantwortet: John D'Errico am 23 Mai 2021
I have a function which depends on 3 variables.
Lets say my function is this:
Tend=@T(x,y,z)
Assume that the variables x and y are known. How can I calculate the z value for a specific Tend value?

Antworten (1)

John D'Errico
John D'Errico am 23 Mai 2021
You will need a guess for z. I'll call it z0.
zsolve = fzero(@(z) T(x,y,z) - Tend,z0);

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by