# Drawing mesh figure in MATLAB [closed]

I want to draw a figure of the mesh which the interval (0,1) ared divided into 8 equalsize subintervals. Which comment do I need to use ? The points needs to be on the natural straiht line. Thanks

-

## closed as off-topic by Shobhit, azimut, Stefan Hansen, amWhy, Ron GordonOct 29 '13 at 18:24

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is not about mathematics, within the scope defined in the help center." – Shobhit, azimut, Stefan Hansen, amWhy, Ron Gordon
If this question can be reworded to fit the rules in the help center, please edit the question.

L = 0:1/8:1;

x=linspace(0,1,8);