Find Logic 10 - MATLAB Cody - MATLAB Central

Problem 47265. Find Logic 10

Difficulty:Rate
Guess the logic!
logic(1) = 120
logic(2) = 60
logic(3) = 20
logic(4) = 5
Make a function logic(x) which will return 'x' th term of sequence

Solution Stats

61.4% Correct | 38.6% Incorrect
Last Solution submitted on Apr 16, 2025

Problem Comments

Solution Comments

Show comments
Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Group

Guess the Logic! Image
Guess the Logic!
  • 17 Problems
  • 241 Finishers

Problem Recent Solvers341

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page