ENGR 121 Lecture Notes - Lecture 1: Binary Logarithm, Nan, Exclusive Or
Document Summary
What is matlab: powerful sotware package with many mathemaical and graphical applicaions. Desktop environment: current folder shows save iles, workspace window shows variables, command history window imestamps commands that have been entered. >> is the prompt, which is followed by a user command: toolstrip has tabs for home, plots, and apps. Home tab is divided into file, variable, code, environment, resources under environment, layout allows for customizaion of desktop environment. Modifying variables: iniialize a variable by assigning it its irst value. Mynum = 5: variables can be changed and modiied many imes. Types of variables: real numbers: single and double, integer types signed integers: int8, int16, int32, int64. Unsigned integers: uint8, uint16, uint32, uint64 the number represents the number of bits that are used to store a value of that type: characters and strings: char, true/false: logical, double is the default variable type.