Info
此问题已关闭。 请重新打开它进行编辑或回答。
Create 3-D shaded surface plot for specific values of Z?
1 次查看(过去 30 天)
显示 更早的评论
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!
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!