Feeds
提问
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...
10 years 前 | 1 个回答 | 0
1
个回答已解决
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...
11 years 前