Problem 2610. counting for loop
Complete the function below using a for loop to count from 3 to N by 2. For example, if N is 10, count 3, 5, 7, 9 and stop. For each value v, call the function mydisplay(v). Note that N could be less than 3, in which case mydisplay() should never be called.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers53
Suggested Problems
-
852 Solvers
-
5269 Solvers
-
Sum the 'edge' values of a matrix
339 Solvers
-
Matlab Basics - Pick out parts of a vector
255 Solvers
-
Matlab Basics II - Count rows in a matrix
373 Solvers
More from this Author6
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!