how to generate a mesh ?

10 views (last 30 days)
how to generate a mesh ? maximum edge length should be 40 and number of nodes should be 126.

Accepted Answer

Walter Roberson
Walter Roberson on 4 Feb 2014
[X,Y] = ndgrid(1:6, 1:21);
Z = rand(size(X));
mesh(X, Y, Z);

More Answers (1)

Sivakumaran Chandrasekaran
http://tinypic.com/r/erx0lt/8..... how to create a network like that.. is that a polyogn or mesh
  4 Comments
Walter Roberson
Walter Roberson on 4 Feb 2014
From "outside" knowing all the coordinates and connections, or from "inside" with the nodes exchanging information and negotiating the connection ?

Sign in to comment.

Categories

Find more on Surfaces, Volumes, and Polygons in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!