This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: 14:440:127– Introduction to Computers for Engineers Notes for Lecture 01 Rutgers University, Fall 2009 Instructor Blase E. Ur 1 What Is Matlab? Matlab (‘MATrix LABoratory’) is a software package (and accompanying programming language) that simplifies many operations in numerical methods, matrix manipulation/linear algebra, and other tasks engineers will often want to accomplish. The Matlab language shares common ideas (i.e. for loops, if statements ) with other languages like Java, C++, and Python. Matlab differs from many common programming languages in terms of the myriad builtin functions and toolkits included, its slightly different syntax, and the fact that it is interpreted (versus compiled). Matlab was chosen for this class primarily because of its wide use in industry and academia, its elaborate matrix manipulation functionality, tools for efficient graphing/plotting, implementation of numerical algorithms, and specialized analysis toolkits. 1.1 Getting Matlab • Buy the Educational Version : http://www.mathworks.com/academia/student_version/ It costs $99, but is worth it. As a note, Mathworks generally won’t deliver the product to PO Boxes, such as your campus mailbox. You can have it delivered to my office to get around that: Your Name, 98 Brett Road, Room B110, Piscataway, NJ 08854 . • Use it in the Computer Labs : The DSV and EIT labs in the Engineering Building have Matlab. You can find the labs’ hours here: http://ecs.rutgers.edu/ . Matlab is also available in ARC lab and other labs on campus; you can the operating hours here: http://www.nbcs.rutgers.edu/ccf/main/schedules/ • Access Matlab remotely from your own computer : You can access Matlab from your own computer in the dorm remotely if you . First, you need to download and install an X Windows client such as Xming ( http://www.straightrunning.com/XmingNotes/ ). Open Xming. Then, download an SSH client such as Putty ( http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html ). Open Putty, and enter engsoft.rutgers.edu as the hostname. (and make sure that port 22 and SSH are chosen). Then, on the bottomlefthand side, click the + next to SSH, click on ‘X11’, and check the ‘Enable X11 forwarding’ box. On the toplefthand side, click on session again, and choose ‘Open.’ A black window should open and prompt you for your username and password of your ENGINEERING account. Then, you’ll be at a command prompt. Type ‘matlab’, hit enter, and it should open. • Use An Open Source Matlab Alternative such as Octave or Scilab. See: http://www.morlok.net/ryan/2006/11/01/opensourcematlabalternatives/ Please be sure to test any of your code in an actual version of Matlab before submitting home work/projects you’ve worked on in Octave, etc....
View
Full
Document
This note was uploaded on 01/11/2010 for the course 440 127 taught by Professor Blase during the Fall '09 term at Rutgers.
 Fall '09
 blase

Click to edit the document details