Question: Help with steps in MATLAB program ( a dot m file ) Help me with writing a MATLAB program 1 . use the basic input

Help with steps in MATLAB program (a dot m file)
Help me with writing a MATLAB program
1.use the basic input () function two times to obtain two positive integers a1 and a2;
2. Then it uses the random number generating function randi to generate a integer between a1 and a2. Example: myRN = randi([250],1); (see: zybook 5.5 LAB: 1 D arrays)
3. Finally, use the basic disp() function to output the random number.
4. Note: suppress any automatic output by adding a semicolon at the end of each statement. Basic input and output functions are covered in Chapter 4 Zybook.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!