CIVE121 Lecture Notes - Lecture 3: Row And Column Vectors, Matlab, Square Matrix

49 views2 pages

Document Summary

72 89 86 87 55 command window: 2014 55 72. Gordon arrays whose elements are cells; containers that hold data structures instead of data; used to store character data when read from text files; allow us to group any type of matlab data into a single container. {} around data to be stored in the cell where = what. Tas = helena" allison" list = {name1;name2;name3;name4} for vertical list = {name1,name3,name3} for horizontal city = { waterloo";"toronto":"ottawa":"sudbury }; cell = city(3) retrieving cell cell = ottawa" data = city{3} retrieving contents of cell data = ottawa. String" in command window indicates a cell writing array name echoes data type info to command window e. g. {3x1 cell} typing name of cell shows data type in command window. Cell arrays and fprint: you must specify cell of array e. g. tas{1} You can only multiply a square matrix by a square matrix (square a square matrix)

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