Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Topic: creating 3D mesh for some points in space
Replies: 1   Last Post: Feb 10, 2013 4:54 PM

 Nasser Abbasi Posts: 6,572 Registered: 2/7/05
Re: creating 3D mesh for some points in space
Posted: Feb 10, 2013 4:54 PM

On 2/10/2013 2:19 PM, lala wrote:
> So I have these points, A, B, C, ... in 3D. Their coordinates are denoted by x, y, z.
>For example point A has these coordinates: if x=2.5 and y=12, then z is 3, and B is x=4, y=3,
>and z=15; and so on.
> So i created three arrays to show my points:
> x=[2.5 4 6 18 9]; y=[12 3 7.5 1 10]; z=[3 15 16 8 11.5];
>
> and i want to create a 3D mesh from my points (A, B, ...). There are total of 9 points.
>
> I am able to create plot3 and/or scatter3 but not mesh :(
>
> Ive spent already a full week on this and read many tutorials
>
> lala-
>

http://www.mathworks.com/help/matlab/learn_matlab/creating-mesh-and-surface-plots.html?s_tid=doc_12b