Posts Tagged ‘matlab functions’
Understanding Code Analyzer Warnings
Syntax Warnings and Property Names
The MATLAB code analyzer helps you optimize your code and avoid syntax errors while you write code. It is useful to understand some of the rules that the Code Analyzer applies in its analysis of class definition code. This understanding helps you avoid situations in which MATLAB allows code that is undesirable. Read More
What Is MATLAB?
MATLAB is a high-performance language for technical computing. It ntegrates computation, visualization, and programming in an easy-to-use nvironment where problems and solutions are expressed in familiar athematical notation. Typical uses include: Read More
Desktop Tools
This section provides an introduction to MATLAB’s desktop tools. You can also use MATLAB functions to perform most of the features found in the desktop tools. The tools are: Read More
Tags: addpath, array, break, cd, clear, Command History, Command Window, Debugger, delete, demo, diary, dir, Directory Browser, edit, Editor, end, for, format, full, Functions, Graphical user interface, help, help browser, if, inf, info, Launch Pad, load, m-files, magik, matlab, matlab functions, MATLAB related, matlab users, mean, more, open, path, quit, rem, return, rmpath, save, session, sign, stem, title, variables, which, while, workspace
pack
pack Consolidate workspace memory.
pack performs memory garbage collection. Extended MATLAB sessions may cause memory to become fragmented, preventing
large variables from being stored. pack is a command that saves all variables on disk, clears the memory, and then
reloads the variables. Read More
open
OPEN Open files by extension.
open NAME where NAME must contain a string, does different things
depending on the type of the object named by that string: Read More
more
more  Control paged output in command window.
more OFF disables paging of the output in the MATLAB command window.
more ON enables paging of the output in the MATLAB command window.
more(N) specifies the size of the page to be N lines. Read More
format
format Set output format.
All computations in MATLAB are done in double precision.
format may be used to switch between different output display formats as follows:
format Default. Same as SHORT.
format SHORT Scaled fixed point format with 5 digits.
format LONG Scaled fixed point format with 15 digits.
format SHORT E Floating point format with 5 digits.
format LONG E Floating point format with 15 digits.
format SHORT G Best of fixed or floating point format with 5 digits.
format LONG G Best of fixed or floating point format with 15 digits.
format HEX Hexadecimal format.
format + The symbols +, – and blank are printed
for positive, negative and zero elements.
Imaginary parts are ignored.
format BANK Fixed format for dollars and cents.
format RAT Approximation by ratio of small integers. Read More