MATLAB Function Reference Functions — By Category ...

[Pages:73]Functions - By Category (MATLAB Function Reference)

MATLAB Function Reference

Functions -- By Category

Desktop Tools and Development Environment Mathematics Data Analysis

Programming and Data Types

File I/O

Graphics 3-D Visualization

Creating Graphical User Interfaces External Interfaces

Provide feedback about this page

Alphabetical List

Startup, Command Window, help, editing and debugging, tuning, other general functions

Arrays and matrices, linear algebra, other areas of mathematics

Basic data operations, descriptive statistics, covariance and correlation, filtering and convolution, numerical derivatives and integrals, Fourier transforms, time series analysis

Function/expression evaluation, program control, function handles, object oriented programming, error handling, operators, data types, dates and times, timers

General and low-level file I/O, plus specific file formats, like audio, spreadsheet, HDF, images

Line plots, annotating graphs, specialized plots, images, printing, Handle Graphics

Surface and mesh plots, view control, lighting and transparency, volume visualization

GUIDE, programming graphical user interfaces

Interfaces to DLLs, Java, COM and ActiveX, Web services, and serial port devices, and C and Fortran routines

(1 de 73)08/10/2007 18:16:50

Functions - By Category (MATLAB Function Reference) Back to Top

Desktop Tools and Development Environment

Startup and Shutdown Command Window and History

Help for Using MATLAB

Workspace, Search Path, and File Operations Programming Tools

System

Back to Top of Section

Startup and shutdown options, preferences

Control Command Window and History, enter statements and run functions

Command line help, online documentation in the Help browser, demos

Work with files, MATLAB search path, manage variables

Edit and debug M-files, improve performance, source control, publish results

Identify current computer, license, product version, and more

Startup and Shutdown

exit finish matlab (UNIX) matlab (Windows) matlabrc

prefdir preferences

quit startup

Back to Top of Section

Terminate MATLAB (same as quit)

MATLAB termination M-file Start MATLAB (UNIX systems) Start MATLAB (Windows systems) MATLAB startup M-file for single-user systems or system administrators Directory containing preferences, history, and layout files Open Preferences dialog box for MATLAB and related products Terminate MATLAB MATLAB startup M-file for user-defined options

Command Window and History

clc

Clear Command Window

(2 de 73)08/10/2007 18:16:50

Functions - By Category (MATLAB Function Reference)

commandhistory

commandwindow diary dos format home matlabcolon (matlab:) more perl

system unix

Back to Top of Section

Open Command History window, or select it if already open Open Command Window, or select it if already open Save session to file Execute DOS command and return result Set display format for output Move cursor to upper-left corner of Command Window Run specified function via hyperlink

Control paged output for Command Window Call Perl script using appropriate operating system executable Execute operating system command and return result Execute UNIX command and return result

Help for Using MATLAB

builddocsearchdb demo doc docopt docsearch

echodemo help helpbrowser

helpwin info lookfor playshow support web whatsnew

Back to Top of Section

Build searchable documentation database Access product demos via Help browser Reference page in Help browser Web browser for UNIX platforms Open Help browser Search pane and search for specified term Run M-file demo step-by-step in Command Window Help for MATLAB functions in Command Window Open Help browser to access all online documentation and demos Provide access to M-file help for all functions Information about contacting The MathWorks Search for keyword in all help entries Run M-file demo (deprecated; use echodemo instead)

Open MathWorks Technical Support Web page Open Web site or file in Web browser or Help browser Release Notes for MathWorks products

Workspace, Search Path, and File Operations

(3 de 73)08/10/2007 18:16:50

Functions - By Category (MATLAB Function Reference)

Workspace

Manage variables

Search Path

View and change MATLAB search path

File Operations

Workspace

assignin clear

evalin exist

openvar

pack uiimport which workspace

Search Path

addpath genpath partialpath path path2rc pathdef pathsep pathtool

restoredefaultpath rmpath savepath

File Operations See also File I/O functions.

View and change files and directories

Assign value to variable in specified workspace Remove items from workspace, freeing up system memory Execute MATLAB expression in specified workspace Check existence of variable, function, directory, or Java class Open workspace variable in Array Editor or other tool for graphical editing Consolidate workspace memory Open Import Wizard to import data Locate functions and files Open Workspace browser to manage workspace

Add directories to MATLAB search path Generate path string Partial pathname description View or change MATLAB directory search path Save current MATLAB search path to pathdef.m file Directories in MATLAB search path Path separator for current platform Open Set Path dialog box to view and change MATLAB path Restore default MATLAB search path Remove directories from MATLAB search path Save current MATLAB search path to pathdef.m file

cd copyfile

Change working directory Copy file or directory

(4 de 73)08/10/2007 18:16:50

Functions - By Category (MATLAB Function Reference)

delete dir exist

fileattrib filebrowser isdir lookfor ls matlabroot mkdir movefile pwd recycle rehash rmdir toolboxdir type web what which

Back to Top of Section

Remove files or graphics objects Directory listing Check existence of variable, function, directory, or Java class Set or get attributes of file or directory Current Directory browser Determine whether input is a directory Search for keyword in all help entries Directory contents on UNIX system Root directory of MATLAB installation Make new directory Move file or directory Identify current directory Set option to move deleted files to recycle folder Refresh function and file system path caches Remove directory Root directory for specified toolbox Display contents of file Open Web site or file in Web browser or Help browser List MATLAB files in current directory Locate functions and files

Programming Tools

Edit and Debug M-Files

Edit and debug M-files

Improve Performance and Tune M-Files

Improve performance and find potential problems in M-files

Source Control

Interface MATLAB with source control system

Publishing

Publish M-file code and results

Edit and Debug M-Files

clipboard datatipinfo dbclear

Copy and paste strings to and from system clipboard Produce short description of input variable Clear breakpoints

(5 de 73)08/10/2007 18:16:50

Functions - By Category (MATLAB Function Reference)

dbcont

Resume execution

dbdown

Change local workspace context when in debug mode

dbquit

Quit debug mode

dbstack

Function call stack

dbstatus

List all breakpoints

dbstep

Execute one or more lines from current breakpoint

dbstop

Set breakpoints

dbtype

List M-file with line numbers

dbup

Change local workspace context

debug

List M-file debugging functions

edit

Edit or create M-file

keyboard

Input from keyboard

Improve Performance and Tune M-Files

memory

Help for memory limitations

mlint

Check M-files for possible problems

mlintrpt

Run mlint for file or directory, reporting results in

browser

pack

Consolidate workspace memory

profile

Profile execution time for function

profsave

Save profile report in HTML format

rehash

Refresh function and file system path caches

sparse

Create sparse matrix

zeros

Source Control

checkin

Create array of all zeros Check files into source control system (UNIX)

checkout

Check files out of source control system (UNIX)

cmopts

Name of source control system

customverctrl

Allow custom source control system (UNIX)

undocheckout

Undo previous checkout from source control system (UNIX)

verctrl

Publishing

grabcode

Source control actions (Windows) MATLAB code from M-files published to HTML

notebook

Open M-book in Microsoft Word (Windows)

publish

Publish M-file containing cells, saving output to file of specified type

(6 de 73)08/10/2007 18:16:50

Functions - By Category (MATLAB Function Reference) Back to Top of Section

System

Operating System Interface

Exchange operating system information and commands with MATLAB

MATLAB Version and License

Information about MATLAB version and license

Operating System Interface

clipboard

Copy and paste strings to and from system clipboard

computer

Information about computer on which MATLAB is running

dos

Execute DOS command and return result

getenv

Environment variable

hostid

MATLAB server host identification number

maxNumCompThreads Controls maximum number of computational threads

perl

Call Perl script using appropriate operating system

executable

setenv

Set environment variable

system

Execute operating system command and return result

unix

Execute UNIX command and return result

winqueryreg

Item from Microsoft Windows registry

MATLAB Version and License

ismac

Determine whether running Macintosh OS X versions of

MATLAB

ispc

Determine whether PC (Windows) version of MATLAB

isstudent

Determine whether Student Version of MATLAB

isunix

Determine whether UNIX version of MATLAB

javachk

Generate error message based on Java feature support

license

Return license number or perform licensing task

prefdir

Directory containing preferences, history, and layout files

usejava

Determine whether Java feature is supported in MATLAB

ver

Version information for MathWorks products

verLessThan

Compare toolbox version to specified version string

version

Back to Top

Version number for MATLAB

(7 de 73)08/10/2007 18:16:50

Functions - By Category (MATLAB Function Reference)

Mathematics

Arrays and Matrices

Linear Algebra

Elementary Math

Polynomials

Interpolation and Computational Geometry Cartesian Coordinate System Conversion Nonlinear Numerical Methods Specialized Math Sparse Matrices

Math Constants

Basic array operators and operations, creation of elementary and specialized arrays and matrices

Matrix analysis, linear equations, eigenvalues, singular values, logarithms, exponentials, factorization

Trigonometry, exponentials and logarithms, complex values, rounding, remainders, discrete math

Multiplication, division, evaluation, roots, derivatives, integration, eigenvalue problem, curve fitting, partial fraction expansion

Interpolation, Delaunay triangulation and tessellation, convex hulls, Voronoi diagrams, domain generation

Conversions between Cartesian and polar or spherical coordinates

Differential equations, optimization, integration

Airy, Bessel, Jacobi, Legendre, beta, elliptic, error, exponential integral, gamma functions

Elementary sparse matrices, operations, reordering algorithms, linear algebra, iterative methods, tree operations

Pi, imaginary unit, infinity, Nota-Number, largest and smallest positive floating point numbers, floating point relative accuracy

(8 de 73)08/10/2007 18:16:50

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download