What is the most suitable way to plot how changes in two variables affect another variable?

6 ビュー (過去 30 日間)
Samuele Bolotta
Samuele Bolotta 2021 年 6 月 10 日
回答済み: Max Heiken 2021 年 6 月 10 日
I have three variables: X, Y and Z.
  • I want to scale X and Y to see what effect this has on Z.
  • Specifically, I would like the ratio between X and Y to increase from 1 to 10. Thus, I would have a 1x10 vector for X, a 1x10 vector for Y and for each of these 100 combinations I would like to see the value of Z.
What is the best way to plot this?
Thanks!

回答 (1 件)

Max Heiken
Max Heiken 2021 年 6 月 10 日
Perhaps the surf plot does what you want?

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by