Introduction To MathWorks MATLAB

MathWorks 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 allows for fast prototyping and testing of problems involving simulations, image processing, statistics, artificial intelligence and search/optimization requirements. These capabilities are provided by toolboxes such as Simulink, NN toolbox, Image Processing toolbox and Search/Optimization toolbox.

MATLAB is built on a foundation of matrices therefore all operations involve some form of matrix or vector manipulation, this makes it an ideal tool for use in Discrete Mathematics and Linear Algebra. MATLAB also comes packed with many common mathematical functions and operations, it also has the ability for easy graphing and display of data using generated reports.

Function Syntax:

function rtn = creator(option, state, flags)
temp = floor(5.*rand(5,1)); % ; turn off echo to command window.
rtn = temp';

Basic commands:

clc   % clears command window
clear % clears workspace window
plot  % displays the plot window

MATLAB Cheat Sheet

MATLAB Tutorials