Recitation 01 Presentation

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

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

View Full Document Right Arrow Icon
4:440:127 14:440:127 Introduction to Computers for Engineers Recitation 1
Background image of page 1

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

View Full Document Right Arrow Icon
14:440:127 Recitation 1 MATLAB Prompt Tells that MATLAB is ready for your command Rutgers University SOE
Background image of page 2
14:440:127 Recitation 1 Current directory indow Command window Command window History window Rutgers University SOE
Background image of page 3

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

View Full Document Right Arrow Icon
14:440:127 Recitation 1 Help Open files New file Rutgers University SOE
Background image of page 4
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:
Background image of page 5

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

View Full Document Right Arrow Icon
Background image of page 6
Background image of page 7

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

View Full Document Right Arrow Icon
Background image of page 8
Background image of page 9
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 Right Arrow Icon
Ask a homework question - tutors are online