Guess the logic - MATLAB Cody - MATLAB Central

Problem 47558. Guess the logic

Difficulty:Rate
Guess the logic and make a function logic(x) which will return y.
logic(1) = 0
logic(2) = 188
logic(4) = 2256
logic(6) = 8460

Solution Stats

56.82% Correct | 43.18% Incorrect
Last Solution submitted on Apr 28, 2025

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
3

Problem Recent Solvers22

Suggested Problems

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