Calculating a function variable for a specific output
1 回表示 (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
回答 (1 件)
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);
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!