Presentation is loading. Please wait.

Presentation is loading. Please wait.

March 2005 1R. Smith - University of St Thomas - Minnesota QMCS 130: Today’s Class AssignmentsAssignments Logical operationsLogical operations Summations.

Similar presentations


Presentation on theme: "March 2005 1R. Smith - University of St Thomas - Minnesota QMCS 130: Today’s Class AssignmentsAssignments Logical operationsLogical operations Summations."— Presentation transcript:

1 March 2005 1R. Smith - University of St Thomas - Minnesota QMCS 130: Today’s Class AssignmentsAssignments Logical operationsLogical operations Summations and seriesSummations and series

2 March 2005 2R. Smith - University of St Thomas - Minnesota Assignments Final project datesFinal project dates Matlab 1: graphsMatlab 1: graphs Matlab 2: other exercisesMatlab 2: other exercises –Some series, some booleans

3 March 2005 3R. Smith - University of St Thomas - Minnesota Booleans Like C, but we use ~ instead of !Like C, but we use ~ instead of ! –~= instead of != And, Or, Not = single lettersAnd, Or, Not = single letters –&, |, ~ Also, prefix operatorsAlso, prefix operators –and(), or(), not(), xor(), any(), all() Vectors and stringsVectors and strings –Lengths must match! –String comparison with strcmp(), strcmpi() case free

4 March 2005 4R. Smith - University of St Thomas - Minnesota Summations Let’s look at some converging seriesLet’s look at some converging series Google series – Wolfram, WikipediaGoogle series – Wolfram, Wikipedia

5 March 2005 5R. Smith - University of St Thomas - Minnesota Arithmetic Mean Example It’s what it’s always been:It’s what it’s always been: Add ‘em upAdd ‘em up Divide by the lengthDivide by the length How do we find a vector’s size in Matlab?How do we find a vector’s size in Matlab? Hints for 3.4Hints for 3.4

6 March 2005 6R. Smith - University of St Thomas - Minnesota Creative Commons License This work is licensed under the Creative Commons Attribution-Share Alike 3.0 United States License. To view a copy of this license, visit http://creativecommons.org/licenses/by- sa/3.0/us/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.


Download ppt "March 2005 1R. Smith - University of St Thomas - Minnesota QMCS 130: Today’s Class AssignmentsAssignments Logical operationsLogical operations Summations."

Similar presentations


Ads by Google