Determine the number of unique odd integers in a vector.

Examples:

Input x = [2 5 8 3 7 1];
Output y = 4;
Input x = [2 5 9];
Output y = 2;

Solution Stats

2556 Solutions

838 Solvers

Last Solution submitted on Jun 04, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers838

Suggested Problems

More from this Author7

Problem Tags

Community Treasure Hunt

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

Start Hunting!