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

please show steps
MATLAB
please show stepsMATLAB Write a program that, using a forloop, eliminates all

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!