Hi Marisa: Thanks for contributing some problems to Cody! I want to encourage you to make your problems more general so that there's more than just one input and out output. Maybe you could make this problem into something more like this: "Round the given number to the nearest integer." Then pass in several numbers, not just one.
Find all elements less than 0 or greater than 10 and replace them with NaN
13150 Solvers
701 Solvers
Matrix indexing with two vectors of indices
492 Solvers
380 Solvers
Sum of odd numbers in a matrix
320 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!