Community Profile

photo

David Hill


Last seen: Today Active since 2017

Electrical Engineering with minors in Computer Science, Mathematics, and Creative Writing.

Working as Undergraduate Research Assistant in the field of Computational Photonics

Statistics

All
  • Treasure Hunt Participant
  • 24 Month Streak
  • Revival Level 2
  • Sequences And Series II Master
  • Cody5 Easy Master
  • 5-Star Galaxy Level 3
  • Personal Best Downloads Level 3
  • Number Manipulation II Master
  • Draw Letters
  • Cody Problems in Japanese Master
  • Cody Challenge Master
  • Computational Geometry I Master

View badges

Content Feed

Solved


Matrix which contains the values of an other matrix A at the given locations.
If you have two matrices, which together give xc and yc coordinates into another matrix, eg : xc = [1 1 1; 2 2 1]; ...

etwa 3 Stunden ago

Solved


No Twins?
Write a function that accepts as input a vector and returns the same vector, but retaining only the first occurrence of an eleme...

etwa 3 Stunden ago

Solved


Find the elements of a matrix according to a defined property.
From A = [5,2,3] and B = [1,2,3,4,5,6,7,8,9,10] produce a vector C where : C(1) is the sum of the first A(1) elements of B, ...

etwa 3 Stunden ago

Solved


A quadrant matrix
Write a function called quadrants that takes as its input argument a scalar integer named n. The function returns Q, a 2n-by-2n ...

etwa 3 Stunden ago

Solved


Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

etwa 6 Stunden ago

Solved


Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

etwa 6 Stunden ago

Solved


determine if
determine if the elements of a matrix is a nan and return true

etwa 6 Stunden ago

Solved


find the 'M'
for an input x, return 1 at the location of the letter 'M'

etwa 6 Stunden ago

Solved


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

etwa 6 Stunden ago

Solved


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

etwa 6 Stunden ago

Solved


Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

etwa 6 Stunden ago

Solved


Pairwise column flip
Given matrix *M_in*, flip every pair of columns. So if *M_in* is 1 2 3 4 1 2 3 4 then *M_out* is 2 1 4 3 2 1 4 3 ...

etwa 6 Stunden ago

Solved


Thank!
. Thank all.

etwa 24 Stunden ago

Solved


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

etwa 24 Stunden ago

Solved


String Delimination and Outputting
In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the space...

etwa 24 Stunden ago

Solved


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

etwa 24 Stunden ago

Solved


Automatic String Editing
In this function, you will take an incoming string, and output the same string with each character one letter later in the alpha...

etwa 24 Stunden ago

Solved


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

etwa 24 Stunden ago

Solved


Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

etwa 24 Stunden ago

Solved


Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

etwa 24 Stunden ago

Solved


More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

etwa 24 Stunden ago

Solved


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

etwa 24 Stunden ago

Solved


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

etwa 24 Stunden ago

Solved


Matrix Max Finder
Output the maximum value in a matrix

etwa 24 Stunden ago

Solved


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

etwa 24 Stunden ago

Solved


Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

etwa 24 Stunden ago

Solved


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

etwa 24 Stunden ago

Solved


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

etwa 24 Stunden ago

Solved


Easy Sequences 19: Length of Prime-sided Rectangle with Maximum Area
A prime-sided rectangle is a rectangle having sides represented by prime numbers. The figure below shows all the possible prime-...

ein Tag ago

Solved


Multiply binary numbers
Write a function to multiply two binary numbers input as strings. For example, input values of ‘1011’ and ‘101’ should give ’110...

ein Tag ago

Load more