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

Created by Brian in Community

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

Solution Stats

75.56% Correct | 24.44% Incorrect
Last solution submitted on Feb 04, 2019

Problem Comments

Recent Solvers33

Suggested Problems

More from this Author18

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!