Problem 57735. Easy Sequences 98: One-line Code Challenge - Ternary Operator Function
Solution Stats
Problem Comments
-
2 Comments
Dyuman Joshi
on 28 Feb 2023
It's a shame that MATLAB does not give an error when dividing numeric values with 0.
Ramon Villamangca
on 28 Feb 2023
That's true. That's why I like it. It seldom crash.
Solution Comments
Show commentsProblem Recent Solvers3
Suggested Problems
-
Remove any row in which a NaN appears
8141 Solvers
-
Maximum running product for a string of numbers
1898 Solvers
-
149 Solvers
-
Return a list sorted by number of consecutive occurrences
333 Solvers
-
484 Solvers
More from this Author116
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!