Find Logic 21 - MATLAB Cody - MATLAB Central

Problem 47350. Find Logic 21

Difficulty:Rate
Guess the Logic!
logic(1) = 45
logic(2) = 15
logic(3) = 60
logic(4) = 12
logic(5) = 72
Make a function logic(x) which will return value equal to 'x'th term of sequence

Solution Stats

56.24% Correct | 43.76% Incorrect
Last Solution submitted on Jun 25, 2025

Problem Comments

Solution Comments

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

Problem Recent Solvers229

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!