Question: Write Matlab program to sort the following numbers into two groups: the first group contains numbers greater than 100 and the second group contains

Write Matlab program to sort the following numbers into two groups: the

Write Matlab program to sort the following numbers into two groups: the first group contains numbers greater than 100 and the second group contains numbers less than or equal 100. Evaluate and print the number of elements in each group and find their average. Use loops and counters. x=[100 150 120 90 70 110 85 250 300 50]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Initialize arrays and counters for the two groups group1 c... View full answer

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 Programming Questions!