You should be running Matlab to do the problem sets:
athena% add matlab athena% attach 2.670 athena% matlab /mit/2.670/Computers/Matlab/Examples &
You should also be using emacs to write up your solution scripts:
athena% emacs ~/matlab/solution1.m &
The command above will open an emacs where you can edit a file called
All of the problem descriptions are just scripts too. To run an assignment script (to read what your assignment is), just type
>> Prob1
at the matlab prompt. It will describe that problem in the assignment. Then, use matlab to try solving the problem at your matlab prompt. If you need help, try typing "help commandname" if you already know the name of a command, or "lookfor keywordname" if you know what you're trying to do but not what command does it. When you get something that works for the problem solution, put that command in the .m file you have in emacs.
When you want to say something in the homework you turn in that isn't a matlab command (your name, or an explanation of why you used a particular command), you can put a percent sign at the beginning of that line, ie
% Abbe Cohen % Problem 13 % Part A: Make a matrix A with values from 1 to 10. A = [1:10];
Then, to turn in that problem, you can type
turnin -c 2.670 N ~/matlab/filename.mN is the problem number (1 for Prob1, 2 for Prob2, etc, and 2670 for the Stirling Engine Problem), and filename.m is the file you saved your solutions in.