MATLAB Addition And Subtraction of Vectors - MATLAB

What is MATLAB Addition And Subtraction of Vectors?

You can add or subtract two vectors. Both the operand vectors must be of same type and have same number of elements.

Example

Create a script file with the following code –


When you run the file, it displays the following result –

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

MATLAB Topics