【资料图】
1、不一定。
2、meshgrid只是将图像网格化。
3、其实mesh命令就能实现你要的图像 meshgrid可以对坐标范围进行设置下面是matlab的解释For example, to evaluate the function x*exp(-x^2-y^2) over the range -2 < x < 2, -2 < y < 2, [X,Y] = meshgrid(-2:.2:2, -2:.2:2); Z = X .* exp(-X.^2 - Y.^2); mesh(Z)。
本文就为大家分享到这里,希望小伙伴们会喜欢。
关键词: