MATLAB: Surface plot from straight line coordinates and their value on z

3d3d plotsMATLABplot

I'm looking to represent in MATLAB the plot attached.
I have a series of six straight lines coordinates, and every line has a value on z-axis. How can i plot the surface?

Best Answer

Concantenate your data into matrix. Look for surf, see how data should look like
Also you can use griddata
Related Question