Generate a random real number in the range (0, 20)
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:1| Question number:12.1
All Answers
total answers (1)
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:1| Question number:12.1
total answers (1)
Answer :
- rand * 20
- rand*(50-20)+20
- randi(10)
- randi([0, 10])
- randi([50, 100])
need an explanation for this answer? contact us directly to get an explanation for this answer