Introduction

In this section, let us discuss the following vector operations-

  • Addition and subtraction of vectors

  • Multiplication of vector

  • [1]Division of vector

  • [2]Power of vector, and

  • Transpose of vector

Besides the standard vector operations, MATLAB performs an element-by-element array operations (addition, subtraction, multiplication, division, and power) among vectors of the same dimensions.

To illustrate this special feature, consider two vectors, A and B, of n=3 elements.