Math Lab

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Math Lab as PDF for free.

More details

  • Words: 818
  • Pages: 7
MATLAB is a numerical computing environment and fourth generation programming language. It is a high-level technical computing language and interactive environment for algorithm development, data visualization, data analysis, and numeric computation. -pre mark josef: Matlab Toolboxes- Provide specialized mathematical computing functions for areas including signal processing, optimization, statistics, symbolic math, partial differential equation solving, and curve fitting. Toolboxes are libraries of extra routines. mark josef: aw mark josef: wag yan drei: ha? mark josef: Matlab System • Development Environment- Development environment refers to a server tier designated to a specific stage in a release process.

MATLAB® is a high-level language and interactive environment that enables you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran. MATLAB® is designed to work with matrices, where a matrix is defined to be a rectangular array of numbers. All variables used are considered to be matrices. Scalars and vectors can be used since they can be considered as matrices with dimension 1x1 (scalars) and 1xn or nx1 (vectors). Fundamental Concepts • Arrays- Arrays provide a convenient way to store information for calculations, printing, plotting, etc. There are many times when you want to perform the same operation on multiple numbers. Other times we want to do a calculation repeatedly and save the intermediate values. • Matrixes- Generally refers to a 2-dimensional array, i.e. an m×n array where m and n are greater than or equal to 1 • Symbolic Math - Provides tools for solving and manipulating symbolic math expressions and performing variable Matrix Operations MATLAB provides several useful matrix operations: +

Matrix addition

-

Matrix subtraction

*

Dot product

'

Takes the transpose of a matrix

inv Takes the inverse of a matrix eig Computes the eigenvalues of a square matrix

det Computes the determinant of a matrix rref Calculates the reduced row echelon form of a matrix

MATLAB Toolboxes: • • • • • • • • • • • • •

Control Systems Fuzzy Logic Image Processing LMI Control Neural Networks Optimization Partial Differential Equation Robust Control Signal Processing Statistics Symbolic Math System Identification Wavelets

Development Environment MATLAB caches toolbox directory information across sessions. The caching features are mostly transparent to you. However, if MATLAB does not see the latest versions of your M-files or if you receive warnings about the toolbox path cache, you might need to update the cache. MATHEMATICAL FUNCTIONS

trigonometric functions sin - Sine. sinh - Hyperbolic sine. asin - Inverse sine. asinh - Inverse hyperbolic sine. cos - Cosine. cosh - Hyperbolic cosine. acos - Inverse cosine. acosh - Inverse hyperbolic cosine. tan - Tangent. tanh - Hyperbolic tangent. atan - Inverse tangent. atan2 - Four quadrant inverse tangent. atanh - Inverse hyperbolic tangent. sec - Secant. sech - Hyperbolic secant. asec - Inverse secant. asech - Inverse hyperbolic secant. csc - Cosecant. csch - Hyperbolic cosecant. acsc - Inverse cosecant. acsch - Inverse hyperbolic cosecant. cot - Cotangent. coth - Hyperbolic cotangent. acot - Inverse cotangent. acoth - Inverse hyperbolic cotangent. Exponential type functions exp - Exponential. log - Natural logarithm. log10 - Common (base 10) logarithm. log2 - Base 2 logarithm and dissect floating point number. pow2 - Base 2 power and scale floating point number. sqrt - Square root. nextpow2 - Next higher power of 2.

Rounding and remainder functions fix - Round towards zero. floor - Round towards minus infinity. ceil - Round towards plus infinity. round - Round towards nearest integer. mod - Modulus (signed remainder after division). rem - Remainder after division. sign - Signum.

Desktop Tools and Development Environment

The MATLAB® desktop tools and development environment help you use MATLAB functions and files. Many of these tools are graphical user interfaces (GUIs). If you have an active Internet connection, you can watch the Working in the Development Environment video demo for an overview of the major functionality. Startup and Shutdown

Start the MATLAB program, set startup and shutdown options.

Desktop

Use the MATLAB desktop to manage common tools. Configure the desktop and set preferences.

Running Functions — Command Window and History

Work with functions in the Command Window and Command History window.

Help, Demos, and Related Resources

Get help using the Help browser, help functions, printed documentation, demos, and other methods.

Workspace, Search Path, and File Operations

Workspace browser, Variable Editor, search path tool, Current Directory browser, and equivalent functions.

Editing and Debugging M-Files

Use the MATLAB graphical Editor and debugging functions to create and change M-files.

Tuning and Managing M- Use M-Lint, Profiler, and other Files Reports. Publishing M-Files

Publish M-files and results to HTML, XML, LaTeX, Microsoft Word, and Microsoft PowerPoint using the Editor cell features.

Using Notebook to Publish to Microsoft Word

Use Notebook to Create an M-Book and Publish to Word.

Source Control Interface Access your source control system

from within the MATLAB, Simulink, and Stateflow products. Internationalization

How MATLAB software handles user locale settings.

Related Documents

Math Lab
May 2020 4
Lab Math 05
June 2020 3
Lab 08 Math 03
June 2020 7
Lab Math 4
June 2020 6
Lab Math 03
June 2020 8
Lab Math 07
June 2020 3