Downloading of MATLAB MATLAB environment comes in different flavors. Different flavors mean different software for a different purpose, for exampleit is available…
Matlab Tutorial


MATLAB Interpolation Interpolation is the process of describing a function which “connects the dots” between specified (data) points. The most common interpolation…

MATLAB Sine Wave Plot Objective: To plot a sine wave of the frequency of 1KHz. Example: Let’s generate a simple continuous like…

Matrices and Arrays in MATLAB MATLAB operates on whole matrices and arrays at a time. All types of data variables are stored…

MultiDimensional Arrays in MATLAB Arrays with one more than two dimensions are called multidimensional arrays. Multidimensional arrays are created with more than…

Sparse Arrays in MATLAB When an ordinary array is declared, MATLAB creates a memory location for every element in the array. For…

MATLAB Symbolic Mathematics Symbolic mathematics defines doing mathematics on symbols (not numbers!). For example, a+a is 2a. The symbolic math function is…

MATLAB Trapezoidal Rule Consider the function y=f(x) for the interval a≤x≤b, shown in figure: To evaluate the definite integral, dx, we divide…

Working with Variables and Arrays in MATLAB The structural unit of data in any MATLAB program is the array. An array is…

MATLAB Trapz The MATLAB function trapz (x, y, n) where y is the integral for x, approximates the integral of a function…