How to get output using a function with two parameters of different range
Show older comments
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 Comments
Jan
on 13 Apr 2021
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
on 13 Apr 2021
Tino
on 13 Apr 2021
Jan
on 13 Apr 2021
Do you want to display the surface as points, surf, patch, bars, the z value encoded as color?
Tino
on 13 Apr 2021
Tino
on 13 Apr 2021
Accepted Answer
More Answers (0)
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!