photo

Camden Nelson


Last seen: 4 Monate vor Aktiv seit 2023

Followers: 0   Following: 0

Statistik

All
  • Solver
  • Thankful Level 2

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7 Monate vor

Frage


What is the output after each recursive function call?
Consider the following code: function [out] = myRecurfn(num) if floor(num) == 0 out = 2 else out = 4 + myRecurfn(nu...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


Sum of all even index elements of a 1D array
This is the code that I have so far to sum all the even index elements of a 1D array: function [out] = mySumEven(A) n = length...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


Summing the even index elements of a 1D array
I am trying to write a recursive function that sums the elements in even indexed position of a 1D array, but am not sure how to ...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How are the variables being changed in this recursive relationship?
Can someone explain how the value of n is being changed in this fibbonaci recursive relationship. Specifically, which line of co...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How to create binary search code
I thought I had this code working yesterday but must've changed something on accident. I am not sure how to finish it to perform...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


What do these lines of code mean
I am working on a homework assignment where I have to code a linear search algorithm, and looked up a video to see other solutio...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten