ENGR 101 Lecture Notes - Lecture 12: Microsoft Excel, Matlab, Semicolon

31 views4 pages
24 Jan 2017
School
Department
Course

Document Summary

You can access specific locations in a matrix like this: 5 6 7 8 9 ] a = [ 0 1 2 3 4 a(1,1:3) [0 1 2] a(1:2,3) [ 2. You can use logical arrays to show which elements of an array are bigger than, less than, equal to, etc. Display() is called when you don"t include a semicolon after a matlab line where an assignment occurs. Disp(data) will output only the data to the screen. 20. 5300 no semicolon here means display() was used by matlab only the number itself is shown the name of the variable and it"s value is shown initialized from the command window initialized within your script. Using built in functions rand() all variables/data defined in these ways will will remain active after your script file is finished. User input from the command window (putting input()) from files (. txt, . csv, . dat, . xlsx, . png, etc. )

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