How to get output using a function with two parameters of different range
显示 更早的评论
For instance, I have a function x = cb( a, b)
the paramter a ranges from 0 to 1 and b ranges from (2 to 20).
How do I perform a for loop to plot x for these parameters range.
Your help will be greatly appreciated
Best wishes
6 个评论
Jan
2021-4-13
This will be a 3D plot, because you have two indices for the input and 1 value for the output. There are many different types of 3D plots. So how do you want the output to look like?
Tino
2021-4-13
Tino
2021-4-13
Jan
2021-4-13
Do you want to display the surface as points, surf, patch, bars, the z value encoded as color?
Tino
2021-4-13
Tino
2021-4-13
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!