plot(sin(0:0.1:(2*pi)),'r'); % 'r' specifies that the curve be drawn in red print('sin.eps','-depsc'); % save an eps file, which can be used in latex print('sin.png','-dpng'); % save a png file
|   General  |   Homework   |   Programming assignments  |   Demos  |   Links   |
|---|
  
MATH 5543, Fall 2008    Numerical Analysis for Differential Equations
See Syllabus Attachment for university-wide rules regarding dropping a course, academic integrity, and office of student disability services.
| Sec | Classroom | Time |
|---|---|---|
| 001 | TR 10:30-11:45pm | MSCS 203 |
| Back to top |
|---|
| Back to top |
|---|
| Back to top |
|---|
plot(sin(0:0.1:(2*pi)),'r'); % 'r' specifies that the curve be drawn in red print('sin.eps','-depsc'); % save an eps file, which can be used in latex print('sin.png','-dpng'); % save a png file
chdir('C:\Documents and Settings\myusername\My Documents')myprogram
| Back to top |
|---|
| Back to top |
|---|