Question: Q 3 : [ 2 5 pts ] Write a MATLAB program in a script file that asks the user to input a vector of
Q: pts Write a MATLAB program in a script file that asks the user to input a vector of arbitrary length. The program then counts the number of total, positive, and negative elements. The program needs to count the number of even positive and negative elements. The program should display the results in sentence form, ie "The vector has elements: elements isare positive and elements isare negative. Positive and negative elements are even.", where XX stands for the corresponding number of elements. Please try your code for the following
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
