lab22 - Solve the following problems from pp. 51-54 of the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Lab 22: Getting Acquainted with Matlab Last Modified 03/08/2009 Key Concepts: basics of Matlab Use the examples from the in-class demos and Chapter 2 of the text to aid you as you solve these problems. Open the Matlab environment. You'll solve some problems from the text. You may opt to work at the command line for testing and debugging, but create one .m file for your solutions to all problems that you'll hand in. Give the first four lines of the standard header comments at the top of this file: programmer, section, program, and date. Before beginning each the solution to each problem, give a comment describing the problem, e.g. % Problem 3: Arithmetic Computations
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Solve the following problems from pp. 51-54 of the Matlab book: • Problem 3, first four parts • Problem 4a, 4b • Problem 5a • Problem 6 • Problem 7 When you have fully solved all problems and debugged your solutions, run the following command to clear the memory and console window: clear, clc Then make a copy of the standard lab report template. Paste your code into the appropriate section. Run your .m file and paste the output into the Sample Runs section, adding subheadings for where the output to each problem begins. Write a short discussion about what you've learned and comparing solving these kinds of problems in Matlab to solving them in C++....
View Full Document

This document was uploaded on 02/10/2011.

Ask a homework question - tutors are online