Monday 5 March 2012

LAB MODULE 2.

There are three (3) basic objects in matlab which are scalar, vector and matrices. Below is an example for each object:

Scalar
a = 5
there is only a value presents in scalar object.

Vector
v = [1 5 6]
vector usually displayed in matrices form


In MATLAB, there are some  commands to allow matrice operation to be formulated.

Some of the commands are:

1) When create a matrice




2) To determine the coordinate of matrice





3) Below are the examples to calculate the value of summation, mean, maximum, and minimum values of a matrix MatrixBITI









4) Below are examples to write the location of the pixel 4 and 10 in the matrix Exe











No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...