Question: please show steps MATLAB Write a program that, using a forloop, eliminates all the negative elements of a vector. The program displays the modified vector
Write a program that, using a forloop, eliminates all the negative elements of a vector. The program displays the modified vector and a message that says how many elements were eliminated. Use the following vector v v=112 -6 98-10.11 2 19 -3 6-7 12 6 3 10 17 19 11 -10 -6 15 6 14 7]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
