Need help creating an 2-D 400×300 array
2 views (last 30 days)
Show older comments
Need help creating a meshgrid() to create a 2-D 400×300 array of numbers. I want to design an interesting function like the product of two sine functions using the array values as inputs. I want to a create a grayscale image of this function with imagesc(). and also add a colorbar and label both axes. I also need to change the values of the array elements [100:110, 50:60] to make something that will be visible in the image. Much appreciated for the help.
2 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!