Recitation 01 Presentation

Recitation 01 Presentation - 14:440:127 Recitation 1 ow to...

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

4:440:127 14:440:127 Introduction to Computers for Engineers Recitation 1

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

View Full Document
14:440:127 Recitation 1 MATLAB Prompt Tells that MATLAB is ready for your command Rutgers University SOE
14:440:127 Recitation 1 Current directory indow Command window Command window History window Rutgers University SOE

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

View Full Document
14:440:127 Recitation 1 Help Open files New file Rutgers University SOE
14:440:127 Recitation 1 Set your working path • Save all your files on the J: Drive ddtheJ:Dr ivetoMat lab‘s path: File Se tPa th Add the J: Drive to Matlab s path: File-> Set Path • Set the Current Working Directory Two Useful Commands: clear : erase variable(s) from memory lc:

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

View Full Document

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.

Unformatted text preview: 14:440:127 Recitation 1 ow to write an m le and set variables How to write an m-file and set variables • Type your commands and save as .m file • Pick a good filename • File name case sensitive o need to declare variable before use • No need to declare variable before use • Data Types • NaN and .99999 Rutgers University SOE 14:440:127 Recitation 1 Rutgers University SOE 14:440:127 Recitation 1 Rutgers University SOE 14:440:127 Recitation 1 Example 1 Use MATLAB to calculate the expression here a =3 b =5 and c = 3 where a =3, b =5 and c = − 3. Matlab code for this problem: Rutgers University SOE...
View Full Document

{[ snackBarMessage ]}

Page1 / 9

Recitation 01 Presentation - 14:440:127 Recitation 1 ow to...

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

View Full Document
Ask a homework question - tutors are online