MAE 08 Lecture Notes - Lecture 2: Desktop Environment, 8-Bit, Elementary

14 views2 pages

Document Summary

Workspace: list of current variables available in memory. Current folder: current directory/path and list of files within the directory. >> whos list current variables and their info. Use semicolon (;) to separate multiple commands on the same line and suppress outputs to command window. Use continuation operator/ ellipsis ( ) to continue a long expression into another line. Assignment statements are used to assign value/expression to a variable: variablename = expression. Matlab creates and changes variables on the fly. Variable names must begin with a letter of alphabet, then can include numbers and underscore characters. Variable ans in the matlab default variable when an expression is defined but is not assigned to a variable. Expressions are operations which give value to variable. The operations can give a number, a logical true/false or a string. Trigonometry functions: sin, cos, tan, sind, asin, 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