Problem 1:? Write a MATLAB script file that will determine how many entries in an array are positive and how many are negative.? The input to your program will be the array.? The outputs of your program will be the array and the following statement: ?The number of positive entries is: (display the number of positive entries here)?.? A similar statement should be used for the negative entries.? Note: zero should be considered positive and you should use fprintf to display the statement with your values embedded.?
Use the following in your script file: Array=randi([-5 5],5,4);? to generate the 2-D array.