Info
This question is closed. Reopen it to edit or answer.
Create 3-D shaded surface plot for specific values of Z?
1 view (last 30 days)
Show older comments
I want to draw my function of two variable so that the displayed graph gives me Z values between -5 and 5.
Z = arrayfun(@mFunction, X, Y);
[X,Y] = meshgrid(0:.2:1, 0:.2:1);
surf(X,Y,Z)
What command I should add? Thanks!
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!