Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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

share|cite|improve this question

closed as off-topic by SHOBHIT GAUTAM, azimut, Stefan Hansen, amWhy, Ron Gordon Oct 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 GAUTAM, azimut, Stefan Hansen, amWhy, Ron Gordon
If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

up vote 4 down vote accepted
L = 0:1/8:1;
hold on
plot([0 1],[0 0],'k')
share|cite|improve this answer
share|cite|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.