統計
All
Feeds
解決済み
Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...
7年以上 前
回答済み
Who can give me a full answer of this question?
Code: function[] = someonesHW() idx=1; prompt='Enter a number: '; while true inp=input(prompt,'s'); if (inp=="d...
Who can give me a full answer of this question?
Code: function[] = someonesHW() idx=1; prompt='Enter a number: '; while true inp=input(prompt,'s'); if (inp=="d...
8年弱 前 | 0
回答済み
How can I solve this question?
Code: function[] = guessingGame() prompt_right=('Good job, you guessed correctly'); ...
How can I solve this question?
Code: function[] = guessingGame() prompt_right=('Good job, you guessed correctly'); ...
8年弱 前 | 0
回答済み
how to separate odd and even elements of a matrix with out using for or while loops.
Code: function[] = sortEvenOdd(A) %This is the main function: [Aodd,Aeven] = sort(A); %calling the loc...
how to separate odd and even elements of a matrix with out using for or while loops.
Code: function[] = sortEvenOdd(A) %This is the main function: [Aodd,Aeven] = sort(A); %calling the loc...
8年弱 前 | 1
回答済み
what does this mean ?
Code: function[N] = forfun(N,n) % N=[1 2 3 4 5;6 7 8 9 10;11 12 13 14 15] % n=2 a=size(N); for i=(a(1)-n+1):a(1) ...
what does this mean ?
Code: function[N] = forfun(N,n) % N=[1 2 3 4 5;6 7 8 9 10;11 12 13 14 15] % n=2 a=size(N); for i=(a(1)-n+1):a(1) ...
8年弱 前 | 0
回答済み
how to find all integers between two integers
function[v] = int_col(n) %Const: %n=some_int_here; v=size(n); for i=1:n-1 v(i+1)=i; end end
how to find all integers between two integers
function[v] = int_col(n) %Const: %n=some_int_here; v=size(n); for i=1:n-1 v(i+1)=i; end end
8年弱 前 | 0

