Feeds
질문
I am trying to write a program that returns a Fibonacci series in a two-dimensional array. It has two input integers 6and 9. The Fibonacci series in the first row has the same series in its first column.I need help to get the remaining rows and col
function A = mat_fibo(M,N) A(1)=1; A(1)=1; for ii = 2:M for jj = 3:N A(jj) =A(jj-1)+A(jj-2); if ii<=M A(2,1)=1; A(2,1)=2...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I write a function that takes one scalar input(tens or ones place) and it prints the name of the value?
What I intend is to use the MATAB built-in-function floor to determine if the number is a whole number, and it can also be emplo...
거의 8년 전 | 답변 수: 1 | 0
