 , then x is in the interval
, then x is in the interval  as required, so this should generate a suitable number:
 as required, so this should generate a suitable number: , then x is in the interval
, then x is in the interval  as required, so this should generate a suitable number:
 as required, so this should generate a suitable number: and
 and  . So that gives you back
. So that gives you back  and
 and  .
.Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!