I need to calculate 3D in MATLAB. Anyone know that which function I should use? For 2–D I know, but I don't know about its 3D.