Problem 57735. Easy Sequences 98: One-line Code Challenge - Ternary Operator Function
75.0% Correct | 25.0% Incorrect
Last Solution submitted on Apr 06, 2023
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 CommentsShow comments
Problem Recent Solvers3
Remove any row in which a NaN appears
Maximum running product for a string of numbers
Return a list sorted by number of consecutive occurrences
More from this Author116
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!