Cody

Problem 44481. How many Fibonacci numbers?

Created by Bob Tivnan in Community

Find the number of unique Fibonacci numbers (don't count repeats) in a vector of positive integers.

Example:

 x = [1 2 3 4 5 6 7 8 8]
 y = 5

Solution Stats

32.14% Correct | 67.86% Incorrect
Last solution submitted on Mar 20, 2019

Problem Comments

Solution Comments

Recent Solvers22

Suggested Problems

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!