Community Profile

photo

Thomas Nguyen


Active since 2018

Followers: 0   Following: 0

Statistics

All
  • Solver
  • First Answer

View badges

Feeds

View by

Solved


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. ...

6 years ago

Answered
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...

6 years ago | 0

Answered
How can I solve this question?
Code: function[] = guessingGame() prompt_right=('Good job, you guessed correctly'); ...

6 years ago | 0

Answered
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...

6 years ago | 1

Answered
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) ...

6 years ago | 0

Answered
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

6 years ago | 0