MATLAB Primer Sixth Edition pptx

163 192 0
MATLAB Primer Sixth Edition pptx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... Additional Resources 16.1 MATLAB 16.2 MATLAB toolboxes 16.3 Simulink 16.4 Simulink blocksets © 2002 by CRC Press LLC 1 Accessing MATLAB On Unix systems you can enter MATLAB with the system command PDWODE and exit MATLAB with the MATLAB command TXLW or H[LW In Microsoft Windows, the Apple Macintosh, and in some Unix window systems, just double-click on the MATLAB icon: 2 The MATLAB Desktop MATLAB has an extensive... ZKDW lists only the MATLAB- specific files © 2002 by CRC Press LLC in the directory, grouped by file type The MATLAB commands GHOHWH and W\SH can be used to delete a file and display an M-file in the Command window, respectively 2.8 MATLAB s path M-files must be in a directory accessible to MATLAB M-files in the current directory are always accessible The current list of directories in MATLAB s search path... preview some of the features of MATLAB by first entering the command GHPR or by selecting +HOS 'HPRV, and then selecting from the options offered © 2002 by CRC Press LLC 2.2 Launch Pad window This allows you to start up demos and other windows not present when you start MATLAB Try /DXQFK 3DG: 0$7/$%: 'HPRV and run one of the demos from the MATLAB Demo window 2.3 Command window MATLAB expressions and statements... systems, just double-click on the MATLAB icon: 2 The MATLAB Desktop MATLAB has an extensive graphical user interface When MATLAB starts, the MATLAB window will appear, with several subwindows and menu bars All of MATLAB s windows are docked, which means that they are tiled on the main MATLAB window You can undock a window by clicking its undock button: Dock it with 9LHZ its close button: 'RFN Close a window... clicking Reshape the window tiling by clicking on and dragging the window edges The menu bar at the top of the MATLAB window contains a set of buttons and pull-down menus for © 2002 by CRC Press LLC working with M-files, windows, preferences and other settings, web resources for MATLAB, and online MATLAB help For example, if you prefer a simpler font than the default one, select )LOH 3UHIHUHQFHV, click... functions and files on the path For example, type ZKLFK KLOE You can modify your MATLAB path with the command SDWK, or SDWKWRRO, which brings up another window You can also select )LOH 6HW 3DWK 3 Matrices and Matrix Operations You have now seen most of MATLAB' s windows and what they can do Now take a look at how you can use MATLAB to work on matrices and other data types 3.1 Referencing individual entries... Command window with the PRUH RQ command Type PRUH RII to turn this feature off 2.4 Workspace window This lists variables that you have either entered or computed in your MATLAB session There are many fundamental data types (or classes) in MATLAB, each one a multidimensional array The classes that we will concern ourselves with most are rectangular numerical arrays with possibly complex entries, and possibly... selecting 'HOHWH 6HOHFWLRQ The command FOHDU alone clears all non-permanent variables When you log out or exit MATLAB, all variables are lost However, invoking the command VDYH before exiting causes all variables to be written to a machine-readable file named PDWODEPDW When you later reenter MATLAB, the command ORDG will restore the workspace to its former state Commands VDYH and ORDG take file names... Navigator, and you’ll see the MATLAB Roadmap (or +HOS: 0$7/$% for short) Printable versions of the documentation are also available (see +HOS: 0$7/$%: 3ULQWDEOH 'RFXPHQWDWLRQ 3') ) You can also use the KHOS command, typed in the Command window For example, the command KHOS HLJ will give information about the eigenvalue function HLJ See the list of functions in the last section of this Primer for a brief summary... font, and click 2 2.1 Help window This window is the most useful window for beginning MATLAB users Select +HOS 0$7/$% +HOS The Help window has most of the features you would see in any web browser (clickable links, a back button, and a search engine, for example) The Help Navigator on the left shows where you are in the MATLAB online documentation I’ll refer to the online Help sections as +HOS: 0$7/$%: . this Primer is to help you begin to use MATLAB. It is not intended to be a substitute for the online help facility or the MATLAB documentation (such as Getting Started with MATLAB and Using MATLAB, . exit MATLAB with the MATLAB command TXLW or H[LW. In Microsoft Windows, the Apple Macintosh, and in some Unix window systems, just double-click on the MATLAB icon:  2. The MATLAB Desktop MATLAB. Congress Cataloging-in-Publication Data Sigmon, Kermit. MATLAB primer. — 6th ed. / Kermit Sigmon, Timothy A. Davis. p. cm. Rev. ed. of: MATLAB primer. 5th ed. / [MathWorks, Inc.] . c1998. Includes

Ngày đăng: 27/06/2014, 12:20

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan