Question: Using MATLAB, write a program that accepts 15 real numbers from the user and stores them in an array (call it Array). From this array,

Using MATLAB, write a program that accepts 15 real numbers from the user and stores them in an array (call it Array). From this array, create three arrays

one that contains all the elements of the original array that are less than or equal to -1 (call it Array1), one that contains all elements of the original array that are between

1 and 1 (call it Array2), and one that contains all elements of the original array that are bigger than or equal to 1 (call it Array3). Please note that some of these arrays may be empty (if there are no numbers in the corresponding interval).

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!