tags:

views:

56

answers:

0

How Can I generate two vectors (A and B) containing 100 randomly generated integer numbers from 0 to 10. I want to Start the random number generation from state 0. That is use rand('state',0) before I start generating random numbers. Also I how can I 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.

related questions