Question: Please write the function for following NOTE. Please Write IN. MATLAB. MATLAB Problem 2. Write a function called vector multiply that takes two vec- tors
Problem 2. Write a function called vector multiply that takes two vec- tors of the same length as input arguments (the function does not have to check the format of the input) and returns one row vector as output. If it is called like this, v3 vector multiply (v1,v2), then v3 v1. *v2. However, this function must not use an array operation. It must instead use a for-loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
