Skip to main content

more options

Part 3: Arrays     Part 5: Conditionals

Module 1, part 4. Scripts involving simple plots and I/O

Contents

No. Topic Description
1. Scripts   Blecture   plots1.m   plots2.m This blecture shows you how to write and run MATLAB scripts that make use of basic graphics functions.
2. Input and screen output   Blecture   sec2hms.m   sec2hmsV2.m This blecture shows you how to use the input function and how to produce formatted output using fprintf.
3. Detail on scripts and output
Read Gilat § 1.8, 4.3 up to p.97
These sections list different ways to run a script and provide more options for format specifiers.
4. Self-check exercise Refer to Gilat § 5.1, 5.3, 5.4 for additional information on graphics commands