3.15. Summary

  • In this chapter, the user has been introduced to handling of vectors and matrices in MATLAB.

  • Although other high-level programming languages work with one element at a time, in MATLAB it is possible to work with the whole matrices at a time.

  • A variety of operations that can be carried out on matrices and vectors have been discussed.

  • Create new vectors and perform different operations on vectors such as vector product, transpose, sum, mean, length, max, min, prod, sign, find, fix, floor, ceil, sort, mod and rem have been discussed.

  • Matrix subscripts/indices, matrix dimension, matrix manipulations such as altering shape and size of a matrix have been explained using many examples.

  • Operations such as appending a row/column to a matrix, ...

Get MATLAB® and Its Applications in Engineering: [Based on MATLAB 7.5 (R2007b)] now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.