MATH/CMSC 206 - Introduction to Matlab

Announcements Syllabus Tutorial Projects Submitting

Answers to Self-Test

1. Write the MATLAB command that will cause all of your results to be displayed in full precision.

format long

2. Write the MATLAB command that will cause your results to be rounded before they are displayed.

format short

3. Write the MATLAB command that will start recording your session to a diary called "Today.txt".

diary Today.txt

4. Write the MATLAB command that will stop recording a diary.

diary off