Introduction What Is MAtLAB?(p. 1-2) Provides an overview of the main features of matlab MATLAB Documentation(p. 1-4) Describes the MATLAB documentation, including online and printed user guides and reference materials
1 Introduction What Is MATLAB? (p. 1-2) Provides an overview of the main features of MATLAB. MATLAB Documentation (p. 1-4) Describes the MATLAB documentation, including online and printed user guides and reference materials
What Is matlab? MATLAB is a high-performance language for technical computing. It integrates computation, visualization, and programming in an easy-to-use where problems and solutions are d in famili mathematical notation. Typical uses include · Math and computation Modeling, simulation, and prototyping Data analysis, exploration, and visualization Scientific and engineering graphics Application development, including graphical user interface building MATLAB is an interactive system whose basic data element is an array that does not require dimensioning. This allows you to solve many technical computing problems, especially those with matrix and vector formulations, in a fraction of the time it would take to write a program in a scalar noninteractive language such as C or Fortran. The name MatlaB stands for matrix laboratory MAtLAB was originally written to provide easy access to matrix software developed by the lINpacK and EISPACK projects. Today, MATLAB engines incorporate the LAPACK d BLaS libraries, embedding the state of the art in software for matrix MATLAB has evolved over a period of years with input from many users. In university environments, it is the standard instructional tool for introductory nd advanced courses in mathematics, engineering, and science. In industry MATLAB is the tool of choice for high-productivity research, development, and MATLAB features a family of add-on application-specific solutions called toolboxes. Very important to most users of MATLAB, toolboxes allow you to learn and apply specialized technology Toolboxes are comprehensive collections of MATLAB functions(M-files )that extend the matlaB environment to solve particular classes of problems. Areas in which toolboxes are available include signal processing, control systems, neural networks fuzzy logic, wavelets, simulation, and man 1-2
1 Introduction 1-2 What Is MATLAB? MATLAB® is a high-performance language for technical computing. It integrates computation, visualization, and programming in an easy-to-use environment where problems and solutions are expressed in familiar mathematical notation. Typical uses include • Math and computation • Algorithm development • Data acquisition • Modeling, simulation, and prototyping • Data analysis, exploration, and visualization • Scientific and engineering graphics • Application development, including graphical user interface building MATLAB is an interactive system whose basic data element is an array that does not require dimensioning. This allows you to solve many technical computing problems, especially those with matrix and vector formulations, in a fraction of the time it would take to write a program in a scalar noninteractive language such as C or Fortran. The name MATLAB stands for matrix laboratory. MATLAB was originally written to provide easy access to matrix software developed by the LINPACK and EISPACK projects. Today, MATLAB engines incorporate the LAPACK and BLAS libraries, embedding the state of the art in software for matrix computation. MATLAB has evolved over a period of years with input from many users. In university environments, it is the standard instructional tool for introductory and advanced courses in mathematics, engineering, and science. In industry, MATLAB is the tool of choice for high-productivity research, development, and analysis. MATLAB features a family of add-on application-specific solutions called toolboxes. Very important to most users of MATLAB, toolboxes allow you to learn and apply specialized technology. Toolboxes are comprehensive collections of MATLAB functions (M-files) that extend the MATLAB environment to solve particular classes of problems. Areas in which toolboxes are available include signal processing, control systems, neural networks, fuzzy logic, wavelets, simulation, and many others
What Is matlabe The MATLAB System The MATLAB system consists of five main parts Development Environment. This is the set of tools and facilities that help you use MATLAB functions and files. Many of these tools are graphical user interfaces It includes the matlab desktop and Command window, a command history n editor and debugger and browsers for viewing help the workspace, files and the search path The MATLAB Mathematical Function Library. This is a vast collection of computational algorithms ranging from elementary functions like sum, sine, cosine, and complex arithmetic, to more sophisticated functions like matrix inverse, matrix eigenvalues, Bessel functions, and fast Fourier transforms The MATLAB Language. This is a high-level matrix/array language with control flow statements, functions, data structures, input/output, and object-oriented programming features. It allows both"programming in the small "to rapidly create quick and dirty throw-away programs, and"programming in the large to create complete large and complex application programs Graphics. MATLAB has extensive facilities for displaying vectors and matrices as graphs, as well as annotating and printing these graphs. It includes high-level functions for two-dimensional and three-dimensional data visualization, image processing, animation, and presentation graphics. It also includes low-level functions that allow you to fully customize the appearance of graphics as well as to build complete graphical user interfaces on your MATLAB applications The MATLAB Application Program Interface (APl]. This is a library that allows you t write C and Fortran programs that interact with MATLAB. It includes facilities for calling routines from MatLAB (dynamic linking), calling MATLAB as a computational engine and for reading and writing Mat-files
What Is MATLAB? 1-3 The MATLAB System The MATLAB system consists of five main parts: Development Environment. This is the set of tools and facilities that help you use MATLAB functions and files. Many of these tools are graphical user interfaces. It includes the MATLAB desktop and Command Window, a command history, an editor and debugger, and browsers for viewing help, the workspace, files, and the search path. The MATLAB Mathematical Function Library. This is a vast collection of computational algorithms ranging from elementary functions like sum, sine, cosine, and complex arithmetic, to more sophisticated functions like matrix inverse, matrix eigenvalues, Bessel functions, and fast Fourier transforms. The MATLAB Language. This is a high-level matrix/array language with control flow statements, functions, data structures, input/output, and object-oriented programming features. It allows both “programming in the small” to rapidly create quick and dirty throw-away programs, and “programming in the large” to create complete large and complex application programs. Graphics. MATLAB has extensive facilities for displaying vectors and matrices as graphs, as well as annotating and printing these graphs. It includes high-level functions for two-dimensional and three-dimensional data visualization, image processing, animation, and presentation graphics. It also includes low-level functions that allow you to fully customize the appearance of graphics as well as to build complete graphical user interfaces on your MATLAB applications. The MATLAB Application Program Interface (API). This is a library that allows you to write C and Fortran programs that interact with MATLAB. It includes facilities for calling routines from MATLAB (dynamic linking), calling MATLAB as a computational engine, and for reading and writing MAT-files
Introduction MATLAB D。 cumentati。n MATLAB provides extensive documentation, in both printed and online format, to help you learn about and use all of its features. If you are a new user start with this book, Getting Started with MaTLAB, which introduces you to MATLAB. It covers all the primary matlab features at a high level, including many examples to help you to learn the material quickly Chapter 2, "Development Environment,-Introduces the MATLAB development environment, including information about tools and the MATLAB desktop · Chapter3,“ Manipulating Matrices”- Introduces how to use matlab to generate matrices and perform mathematical operations on matrices Chapter 4, "Graphics"-Introduces mATlAB graphic capabilities, including information about plotting data, annotating graphs, and working with · Chapter5,“ Programming with MATLAB”- Describes how to use the MATLAB language to create scripts and functions, and manipulate data structures, such as cell arrays and multidimensional arrays. This section also provides an overview of the demo programs included with MATLAB To find more detailed information about any of these topics, use the matlab online help. The online help provides task-oriented and reference informatio about matlab features. The matlab documentation is also available in printed form and in PDF format MATLAB Online Help To view the online documentation, select MATLAB Help from the Help menu in MATLAB. For more information about using the online documentation, see "Help Browser"on page 2-7. For MaTLAB, the documentation is organized into these main topics Development Environment--Provides complete information on the MATLAB desktop Mathematics-Describes how to use matlab mathematical and statistical capabilities 1-4
1 Introduction 1-4 MATLAB Documentation MATLAB provides extensive documentation, in both printed and online format, to help you learn about and use all of its features. If you are a new user, start with this book, Getting Started with MATLAB, which introduces you to MATLAB. It covers all the primary MATLAB features at a high level, including many examples to help you to learn the material quickly: • Chapter 2, “Development Environment”—Introduces the MATLAB development environment, including information about tools and the MATLAB desktop. • Chapter 3, “Manipulating Matrices”—Introduces how to use MATLAB to generate matrices and perform mathematical operations on matrices. • Chapter 4, “Graphics”—Introduces MATLAB graphic capabilities, including information about plotting data, annotating graphs, and working with images. • Chapter 5, “Programming with MATLAB”—Describes how to use the MATLAB language to create scripts and functions, and manipulate data structures, such as cell arrays and multidimensional arrays. This section also provides an overview of the demo programs included with MATLAB. To find more detailed information about any of these topics, use the MATLAB online help. The online help provides task-oriented and reference information about MATLAB features. The MATLAB documentation is also available in printed form and in PDF format. MATLAB Online Help To view the online documentation, select MATLAB Help from the Help menu in MATLAB. For more information about using the online documentation, see “Help Browser” on page 2-7. For MATLAB, the documentation is organized into these main topics: • Development Environment—Provides complete information on the MATLAB desktop. • Mathematics—Describes how to use MATLAB mathematical and statistical capabilities
MATLAB Documentation Programming and Data Types-Describes how to create scripts and functions using the matlab language Graphics-Describes how to plot your data using mATLAB graphics .3-D Visualization--Introduces how to use views, lighting, and transparency to achieve more complex graphic effects than can be achieved using the basic plotting functions Creating Graphical User Interfaces-Describes how to use MATLAB graphical user interface layout tools External interfaces/API-Describes matlab interfaces to C and Fortran programs, Java classes and objects, COM objects, data files, serial port IO and dDe In addition to the above documentation matlab documentation includes the following reference material Functions- By Category--Lists all the core MATLAB functions. Each function has a reference page that provides the syntax, description mathematical algorithm(where appropriate ), and related functions You can also access any function reference page using the "Functions Handle graphics Property Browser-Enables you to easily access descriptions of graphics object properties. For more information about MATLAB graphics, see"Handle graphics"on page 4-26 External Interfaces/API Reference---Covers those functions used by the MATLAB external interfaces, providing information on syntax in the calling language, description, arguments, return values, and examples MATLAB online documentation also includes Examples--An index of major examples included in the documentation Release Notes-Introduces new features and identifies known problems in Printable documentation - Provides access to the pdf versions of the documentation, which are suitable for printing. 1-5
MATLAB Documentation 1-5 • Programming and Data Types—Describes how to create scripts and functions using the MATLAB language. • Graphics—Describes how to plot your data using MATLAB graphics capabilities. • 3-D Visualization—Introduces how to use views, lighting, and transparency to achieve more complex graphic effects than can be achieved using the basic plotting functions. • Creating Graphical User Interfaces—Describes how to use MATLAB graphical user interface layout tools. • External Interfaces/API—Describes MATLAB interfaces to C and Fortran programs, Java classes and objects, COM objects, data files, serial port I/O, and DDE. In addition to the above documentation, MATLAB documentation includes the following reference material: • Functions - By Category—Lists all the core MATLAB functions. Each function has a reference page that provides the syntax, description, mathematical algorithm (where appropriate), and related functions. You can also access any function reference page using the “Functions - Alphabetical List”. • Handle Graphics Property Browser—Enables you to easily access descriptions of graphics object properties. For more information about MATLAB graphics, see “Handle Graphics” on page 4-26 • External Interfaces/API Reference—Covers those functions used by the MATLAB external interfaces, providing information on syntax in the calling language, description, arguments, return values, and examples. MATLAB online documentation also includes • Examples—An index of major examples included in the documentation. • Release Notes—Introduces new features and identifies known problems in the current release. • Printable Documentation—Provides access to the PDF versions of the documentation, which are suitable for printing