Question: please explain steps MATLAB Write a program that examines each element of a vector using a for loop. If the element is positive its value
Write a program that examines each element of a vector using a for loop. If the element is positive its value is doubled. If the element is negative its value is tripled Use the vector v given: V = [11-10-2-9.7 15 11 -1 19-931 13 14-553 10 11)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
