Calculating a function variable for a specific output

조회 수: 2 (최근 30일)
ILAYDA GULSEN KOCAK
ILAYDA GULSEN KOCAK 2021년 5월 23일
답변: John D'Errico 2021년 5월 23일
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?

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by