M E 202 Lecture Notes - Lecture 12: Syntax Highlighting, Text Editor

67 views4 pages
21 Oct 2015
School
Course
Professor

Document Summary

What is syntax highlighting: what does the ; do at the end of a statement, end of chapter vocabulary, functions, and operators. What is the command window: understand the different ways that parentheses are used in. Matlab: understand the difference between an array, a matrix, a vector, and a scalar. What about max(max(a)): using logical indices to select array elements. A = [1 2 3 4 5 6 7 8 9 10], and c = a(find(a >3))and b = For example, if a = [1 2 3 4;5 6 7 8] and b = [11 12]; then know what output (and possibly which error) will be produced by: 14, 3, 82]; b=[1;5;6]; c=[12 18 5 2]; Create a matrix called d from the third column of matrix a: d = a(:,3) Combine matrix b and matrix d to create matrix e, a 2d matrix with three rows and two columns: e = [b,d]

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents