Lecture1 - 1 MATLAB FUNDAMENTALS 1 Overview: About Matlab...

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

View Full Document Right Arrow Icon
1 MATLAB FUNDAMENTALS 1 Dr. Vyas Overview: About Matlab Basic Matlab operations (open/exit) Basic arithmetic with Matlab Basic algebra with Matlab About Matlab 1. The software name Matlab is a truncated version of, Mat rix Lab oratory. 2. Matlab is a mathematical software package that serves as a programming language as well. 3. Matlab was (and still is) predominantly used by engineers who design/analyze the controlling process of physical systems. However, since the late 90s, Matlab is increasingly used by engineers/scientists from other disciplines as well. A1. Starting Matlab from Mac OS X in classroom Ewing 207 Click on the Matlab icon on the Launch bar at the bottom of the screen A2. Starting Matlab from Mac OS X at public computing site Click on the Matlab icon on the Launch bar at the bottom of the screen if present on the Launch bar, else Use Finder to locate the Matlab icon and double click on that icon. A3. Starting Matlab from Windows at public computing site Double click on Matlab icon shortcut on the desktop screen if you see one Else, left click on Start (lower left hand corner of screen), select All Programs and click on the Matlab icon/shortcut in the list of programs. Please be patient , some Windows machines at public computing sites take anywhere between 5 to 10 minutes before Matlab is launched. A4. Starting Matlab from Sun OS on public computing sites On the top taskbar on the screen, left click on Applications . Select Programming and then select and left click on xterm on Strauss . Thereafter, type matlab at the “strauss.udel.edu%” prompt Alternatively, you can also select “Other” from taskbar and proceed to Matlab. Quitting Matlab To exit Matlab there are following options: 1. type exit at the Matlab command prompt, >> 2. From File menu on the toolbar select Exit Matlab 3. Close the Matlab program window via the “x” button on the top right 4. Use the keyboard shortcut, Ctrl+Q (Not available in Mac OS X)
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Following are the screenshots that are intended to aid students in accessing Matlab on Unix terminals. This is the upper right half of the Matlab program window launched from Sun OS. Note the input commands are written in Command Window. Also, note the Current Directory indicated in the tool bar and the contents are displayed in the Current Directory window . Matlab program files must be placed or saved in the same directory as indicated in the toolbar for programs to work .
Background image of page 2
3 To know the current directory you are in, type >> pwd ans = C:\Program Files\MATLAB704\work The above answer is the way it is because I am using Matlab on Windows XP to prepare notes. You will have a different answer depending on whether you are using Linux or Mac OS X. This shows the lower left hand side of the Matlab program window. Note the
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 17

Lecture1 - 1 MATLAB FUNDAMENTALS 1 Overview: About Matlab...

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

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