Sns College of Technology: Department of Civil Engineering
Sns College of Technology: Department of Civil Engineering
Sns College of Technology: Department of Civil Engineering
AN AUTONOMOUS INSTITUTION
Approved by AICTE New Delhi & Affiliated to Anna University Chennai
Accredited by NBA & Accredited by NAAC with “A+” Grade, Recognized by UGC
COIMBATORE
II YEAR / IV SEMESTER
) We are often dealing with lots of data, and normally that data is given in the
form of real-vectors. If not, we can often massage it accordingly... (performing
feature extraction).
) It is convenient to use matrices to store data, for example by stacking the
vectors column-wise:
X = (x1x2 . . . xN )
) Many operations on vectors and matrices extend to objects with more than 1 or
2 dimensions. Example: Construct a random 5 × 5 × 5-array with
’randn(5,5,5)’.
we could write:
X = X - repmat(mean(X,2),1,size(X,2));