Problem 44326. Replace 0 indices in array with 1's

Take a incoming vector, and replace 0's with ones

Solution Stats

73.51% Correct | 26.49% Incorrect
Last Solution submitted on Mar 18, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers107

Suggested Problems

More from this Author18

Community Treasure Hunt

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

Start Hunting!