photo

James Justice


Actif depuis 2014

Followers: 0   Following: 0

Message

Statistiques

All
  • Solver

Afficher les badges

Feeds

Afficher par

Question


When I run this code my fibonacci sequence is missing a beginning 1. Can someone please tell why it is doing this and how I can fix it?
The output I get when inserting 1 for the fist number, 1 for the second number, and 10 for the total number of elements is the...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

A résolu


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

presque 11 ans il y a