Professional Documents
Culture Documents
Introduction
• Powerful Language
• MATrix-LABoratory
• MATLAB used for…
• MATLAB toolboxes…
Chapter 1 Starting With MATLAB
• Starting with MATLAB
MATLAB Windows
1. Toolstrip
2. Current Folder Toolbar
3. Command Window
• Executing commands
• Opening other windows
• Running programs
• Managing the software
Chapter 1 Note for Working in the command window
• Starting with MATLAB
• Command Window
format Command
For detail type help format command in command window
Chapter 1 Display Formats
• Starting with MATLAB
• Command Window
• Arithmetic Operations
• Display Formats
Chapter 1 Elementary Math Built-in functions
• Starting with MATLAB
• Command Window
• Arithmetic Operations • sqrt(x)
• Display Formats • nthroot(x,n)
• Built-in Functions • exp(x)
• abs(x)
• log(x)
• log10(x)
• factorial(x)
• Trigonometric functions like sin(x), sind(x), asin(x), asind(x), sinh(x) and
asinh(x)
• pi use for π
• round(x) for round to nearest integer
• fix(x) round toward zero
• ceil(x) round toward infinity
• floor(x) round toward minus infinity
• rem(x,y) return remainder
• sign(x) for signum function
Chapter 1 Defining scaler variables
• Starting with MATLAB
“=” Assignment operator
• Command Window
• Arithmetic Operations
• Display Formats
• Built-in Functions
• Defining scaler variables