Installation guide
6 Editing and Debugging M-Files
2 Assume you want to produce a smoother curve. Use more values for x in
0:1:6*pi. Position the cursor in line 4, next to the 1.Inthecelltoolbar,
change the
1.1 default multiply/divide b y va lu e to 2. Click the Divide
button
.
Line 4 becomes
and th
elengthof
x doubles. The plot automatically updates. The curve
still
has some rough edges.
3 To add more values for x, click the Divide button three more times. Line 4
becomes
6-142