Find Logic 5 - MATLAB Cody - MATLAB Central

Problem 47239. Find Logic 5

Difficulty:Rate
Guess the logic
logic(1) = 2
logic(2) = 5
logic(3) = 9
logic(4) = 14
Make a function logic(x) which returns 'x' th term of logic

Solution Stats

73.15% Correct | 26.85% Incorrect
Last Solution submitted on Sep 01, 2025

Solution Comments

Show comments
MATLAB EXPO 2025 Registration is Now Open! November 12 – 13, 2025
Registration is now open for MathWorks annual virtual event MATLAB EXPO 2025...
0
0

Problem Recent Solvers66

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!