produce a random real numberto produce a random


Produce a random real number:

To produce a random real number in the range from low to high, at first create the variables low and high. And then, use the expression rand*(high-low) low. For illustration, the sequence

>> low = 3;

>> high = 5;

>> rand*(high-low)+low

would produce a random real number in the range from 3 to 5.

 

 

Request for Solution File

Ask an Expert for Answer!!
Applications of MATLAB: produce a random real numberto produce a random
Reference No:- TGS0174710

Expected delivery within 24 Hours