Your first example logic does not match the second one.
The second example should have y = 2756?
The description has been updated.
Make the vector [1 2 3 4 5 6 7 8 9 10]
36943 Solvers
Remove any row in which a NaN appears
6937 Solvers
523 Solvers
287 Solvers
Number of digits in an integer
342 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!