Community Profile

photo

Lakshan Bandara


Last seen: 2년 초과 전 2019년부터 활동

통계

  • Thankful Level 2
  • Thankful Level 1

배지 보기

Content Feed

보기 기준

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

답변