Mathematica implementation of meshgrid in 2D is
meshgrid[x_List, y_List]:={ConstantArray[x,Length[x]],Transpose@ConstantArray[y,Length[y]]}.
Can any one help to have Mathematica meshgrid in 3D
Mathematica implementation of meshgrid in 2D is
meshgrid[x_List, y_List]:={ConstantArray[x,Length[x]],Transpose@ConstantArray[y,Length[y]]}.
Can any one help to have Mathematica meshgrid in 3D
Comments
Post a Comment