Find Logic 30 - MATLAB Cody - MATLAB Central

Problem 47400. Find Logic 30

Difficulty:Rate
Guess the Logic!
logic(1) = 44
logic(2) = 45
logic(3) = 49
logic(4) = 50
logic(5) = 50
logic(6) = 51
logic(7) = 55
logic(8) = 56
logic(9) = 56
logic(10) = 57
Make a function logic(x) which will return value according to logic.

Solution Stats

53.26% Correct | 46.74% Incorrect
Last Solution submitted on Jul 01, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
3
6

Problem Recent Solvers172

Suggested Problems

More from this Author40

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!