Reading, Writing, and Querying Graphics Image Files

April 29th, 2010 No Comments   Posted in Documents

Working with Image Formats

In its native form, a graphics file format image is not stored as a MATLAB matrix, or even necessarily as a matrix. Most graphics files begin with a header containing format-specific information tags, and continue with bitmap data that can be read as a continuous stream. For this reason, you cannot use the standard MATLAB I/O commands load and save to read and write a graphics file format image. Read More

Constructing Sparse Matrices

April 14th, 2010 No Comments   Posted in Documents

Creating Sparse Matrices

  • Converting Full to Sparse
  • Creating Sparse Matrices Directly
  • Creating Sparse Matrices from Their Diagonal Elements

MATLAB software never creates sparse matrices automatically. Instead, you must determine if a matrix contains a large enough percentage of zeros to benefit from sparse techniques. Read More

Controlling Command Window Input and Output

March 19th, 2010 No Comments   Posted in Documents

The format Function

The format function controls the numeric format of the values displayed. The function affects only how numbers are displayed, not how MATLAB software computes or saves them. Here are the different formats, together with the resulting output produced from a vector x with components of different magnitudes. Read More

save

August 12th, 2009 No Comments   Posted in Functions

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

quit

August 12th, 2009 No Comments   Posted in Functions

quit Quit MATLAB session.
quit terminates MATLAB after running the script FINISH.M,
if it exists. The workspace information will not be saved
unless FINISH.M calls SAVE. If an error occurs while
executing FINISH.M, quitting is cancelled. Read More

Working with Matrices in Matlab

August 5th, 2009 No Comments   Posted in Documents

Generating Matrices

MATLAB software provides four functions that generate basic matrices. Read More

Desktop Tools

March 12th, 2008 No Comments   Posted in Documents

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