MATLAB: I have a x,y and z which will calculate using Model dynamically, how to make a 3D plot for these values.

3d plots

I have a x,y and z which will calculate using Model dynamically, how to make a 3D plot for these values. I tried for Surface and Mesh, it's not working out. My values are not a matrix. Could you support to make a 3D plot x-> Horizontal Angle y-> Vertical Angle z-> Depth (distance)
Thanks
Regards, Suresh.S

Best Answer

In Matlab 3D plots can be created with the following function;
plot3(x,y,z)