Generate two vectors (A and B) containing 100 randomly generated integer numbers
ID: 3620971 • Letter: G
Question
Generate two vectors (A and B) containing 100 randomly generated integer numbers from 0 to 10. Start the random number generation from state 0. That is use rand('state',0) before you start generating random numbers. Compute the following:
*The number of times the sum of A and B are greater than 10.
*The number of times the elements in A are less than corresponding elements in B.