use MATLAB !!!!!1Must answer 2 and 3 together. use MATLAB code only in the simplest term
2.Prompt the user to enter an array of numbers. Use the length function to determine how many values were entered, and use disp function to report your results to the command Window.
3.Repeat Exercise 2, and use fprintf to report your results.
2. Code image
-> Elements for array from user
-> Usage of length
-> Usage of disp function
3. Code image
-> Usage of fprintf for printing array elements
Get Answers For Free
Most questions answered within 1 hours.