How many Fibonacci numbers? - MATLAB Cody - MATLAB Central

Problem 44481. How many Fibonacci numbers?

Difficulty:Rate

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

30.02% Correct | 69.98% Incorrect
Last Solution submitted on May 06, 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 Solvers808

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