counting for loop - MATLAB Cody - MATLAB Central

Problem 2610. counting for loop

Difficulty:Rate

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

30.47% Correct | 69.53% Incorrect
Last Solution submitted on Feb 26, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers55

Suggested Problems

More from this Author6

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!