Matlab Tutorial

# Matlab Tutorial - Matlab A brief introduction Starting...

This preview shows pages 1–6. Sign up to view the full content.

Matlab A brief introduction

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Starting Matlab In OCC Computer Labs Double-Click the Mathematics folder on desktop Double-click on Matlab icon After a brief pause, the Command Window should appear. The following may appear on the Command Window: Using Toolbox Path Cache. Type "help toolbox_path_cache" for more info. To get started, select "MATLAB Help" from the Help menu. >> We are now ready to begin!
Entering Commands Type in command after prompt >> Use backspace/delete buttons to correct Press Enter to execute the command Exercise Type logo and hit Enter An image of Matlab logo should appear!

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Arithmetic Operators Addition: + Subtraction: - Power: ^ Multiplication: * Division: / Parentheses: ( and ) Example Type 1+ (2^2)*3 and hit Enter to get 13!
Trigonometry and Logarithmic expressions Sine: sin Cosine: cos Tan: tan Exponential: exp Natural logarithm: log Common logarithm (base 10): log10 π ≈ 3.142: pi Examples Type sin(pi/6) + cos(pi/3) and hit Enter to get 1!

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 10/13/2010 for the course MECH 321 taught by Professor Qian during the Winter '05 term at University of Cincinnati.

### Page1 / 14

Matlab Tutorial - Matlab A brief introduction Starting...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online