{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

Info icon This 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)
Image of page 1

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

View Full Document Right 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 .
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.
Image of page 3

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern