Posts Tagged ‘ver’
ver
ver MATLAB, SIMULINK, and TOOLBOX version information.
ver displays the current MATLAB and toolbox version numbers.
ver(TOOLBOX_DIR) displays the current version information for the
toolbox specified by the string TOOLBOX_DIR. Read More
save
SAVE Save workspace variables to disk.
SAVE FILENAME saves all workspace variables to the binary “MAT-file”
named FILENAME.mat. The data may be retrieved with LOAD. If FILENAME
has no extension, .mat is assumed. Read More
Working with Matrices in Matlab
Generating Matrices
MATLAB software provides four functions that generate basic matrices. Read More
Matlab Expressions
Variables
Like most other programming languages, the MATLAB language provides mathematical expressions, but unlike most programming languages, these expressions involve entire matrices. Read More
Tags: abs, angle, arithmetic operators, case, clear, complex conjugate, decimal notation, decimal point, Define, division, end, eps, Examples, Expressions, fix, floating point, floating point numbers, for, format, Functions, gui, help, if, inf, length, m-files, mathematical expressions, matlab, matlab language, minus, more, namelength, programming, realmax, realmin, return, sign, statements, type declarations, variable names, variables, ver
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
Manipulating Matrices
Matrices and Magic Squares
In MATLAB, a matrix is a rectangular array of numbers. Special meaning is sometimes attached to 1-by-1 matrices, which are scalars, and to matrices with only one row or column, which are vectors. MATLAB has other ways of storing both numeric and nonnumeric data, but in the beginning, it is usually best to think of everything as a matrix. The operations in MATLAB are designed to be as natural as possible. Where other programming languages work with numbers one at a time, MATLAB allows you to work with entire matrices quickly and easily. A good example matrix, used throughout this book, appears in the Renaissance engraving Melancholia I by the German artist and amateur mathematician Albrecht Dürer. Read More
Tags: amateur mathematician, array, break, case, Colon Operator, Command Window, continue, diag, end, example matrix, Expressions, for, full, Functions, help, if, load, m-files, magic, magic Function, magic squares, Manipulating Matrices, matlab, mean, programming, rem, round, sign, Subscripts, sum, title, vectors, ver, what, which, workspace