Find Logic 20 - MATLAB Cody - MATLAB Central

Problem 47345. Find Logic 20

Difficulty:Rate
Guess the Logic!
logic(1) = 7
logic(2) = 4
logic(3) = 8
logic(4) = 3
logic(5) = 9
logic(6) = 2
Make a function logic(x) which will return 'x' th term of sequence

Solution Stats

54.47% Correct | 45.53% Incorrect
Last Solution submitted on Mar 20, 2025

Problem Comments

Solution Comments

Show comments

Group

High School Challenge Image
High School Challenge
  • 50 Problems
  • 98 Finishers

Problem Recent Solvers309

Community Treasure Hunt

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

Start Hunting!
Go to top of page