{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

MAE 100 Lab 2

MAE 100 Lab 2 - KenitaDoss February6,2009 computertoperform...

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

View Full Document Right Arrow Icon
Kenita Doss February 6, 2009
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
MATLAB can be used as a programming language. A program is a set of ordered instructions for a  computer to perform. Writing a program is convenient because it can be  edited (corrected and/or changed) and executed  many times.
Background image of page 2
For MATLAB to locate and run a script, it must be  saved with a  .m  extension, called an “M-file.” From the MATLAB main menu, select  File>New>M-file , or click on the blank page icon  (as shown).
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
When a new M-file is opened, the Editor Window  appears (as shown) and you can begin to type your  program.
Background image of page 4
Before you can run the program, you need to save  and name it.  Select  File>Save As  from the editor main menu and enter  a file name. There is no need to include the  .m  extension;  MATLAB will automatically add this. It is important that the name of your program 
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
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 14

MAE 100 Lab 2 - KenitaDoss February6,2009 computertoperform...

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

View Full Document Right Arrow Icon bookmark
Ask a homework question - tutors are online