PDE Toolbox - C-1 MATLAB PDE Toolbox Primer MATLAB is a...

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

View Full Document Right Arrow Icon
MATLAB PDE Toolbox Primer MATLAB is a professional engineering and scientific software package developed and marketed by MathWorks, Inc . In recent years, it has achieved widespread and enthusiastic acceptance throughout the engineering community. Many engineering schools now require and/or use MATLAB as one of their primary computing tools, and it is expected that it will continue to replace older structured programming methods. Its popularity is due to a long history of well- developed and tested products, to its ease of use by students and to its compatibility across many different computer platforms (e.g. PC, Mac and UNIX). The purpose of this material is to present a few basics related to using the pdetool box Getting Started MATLAB is both a computer programming language and a software environment for using the language. Under the MS Windows Operating System, the MATLAB window will appear as shown in Figure C-1. It is from this window that the Help menu can be accessed, and this provides extensive information on most topics. In this command window, the user can type instructions after the prompt “>>”. However, it is much more efficient to create and save application programs within the Editor/Debugger window. This window is activated by going to the File menu in the Command window and selecting either New to start a new creation or Open to open an existing file. MATLAB files are called m-files and have the extension *.m. Within the Editor/Debugger window, a new application code can be created or an existing one can be modified. In either case, the resulting file can then be saved for later use, and the current file can be run from this window. An example program appearing in the Editor/Debugger window is shown in Figure C-2. Figure C-1 MATLAB Command Window
Background image of page 1

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

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

This note was uploaded on 10/03/2011 for the course MCE 561 taught by Professor Sadd during the Spring '11 term at Rhode Island.

Page1 / 7

PDE Toolbox - C-1 MATLAB PDE Toolbox Primer MATLAB is a...

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

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