Thursday, December 30, 2010

Lesson 2

Today's Blog is a collection of snippets from the following MATLAB Tutorial:

http://www.staff.ncl.ac.uk/damian.giaouris/pdf/Matlab/MatlabTutorial%20%207th%20edition.pdf

Your assignment is to make an example from each snippet and post it in the comments. Fabricate or construct the data you are operating on as well.

In some regards MATLAB is just a glorified calculator some of the common math functions are listed below:


A challenge in writing a large piece of code is to have logical variable names. There are several names which you cannot use and several which you should (but can) use:


Use one of the following Relational Operators in an example in the comments below:


Use one of the following Logical Operators in an example in the comments below:


I rarely use these but may come in useful sometimes. Additional Logical Operators:


Are you familiar with any of the following Linear Algebra Functions? If so make an example in the comments below.


For each example make sure to include the result from the MATLAB command prompt.

-Richard

No comments:

Post a Comment