Community Profile

photo

Lakshan Bandara


Last seen: 3年弱 前 2019 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 2
  • Thankful Level 1

バッジを表示

Feeds

表示方法

1

回答

質問


'Store the first N (user enters N) Fibonacci numbers in a row vector.'I know how to get user entered number of fibbonachi numbers. But I don't know how to show them in a row vector.
clc; clear; close all; N=input('Enter the number = '); B(1)=0; B(2)=1; count=1; for i=3:N B(1,i)=B(i-2)+B(i-1); ...

4年以上 前 | 1 件の回答 | 0

1

回答