Question: Question 6 : for i = - 1 : 0 . 1 : 1 , this loop will run: A ) 1 0 times B

Question 6:
for i=-1:0.1:1, this loop will run:
A)10 times
B)20 times
C)101 times
D)21 times
This loop will keep running infinitely, suggest a way to fix the
code (without using break)
Which is true about the command rand(0) output:
A) can be any positive or negative number
B) between 0,1 where 0&1 are included
C) between (0,1) where 0&1 are not included
D) between (-1,1) where -1&1 are not included
 Question 6: for i=-1:0.1:1, this loop will run: A)10 times B)20

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 Databases Questions!