# David Hill

Electrical Engineering with minors in Computer Science and Mathematics. Working as an Undergraduate Research Assistant in the field of Robotics.

**Programming Languages:**

Python, C++, C, Java, Javascript, R, MATLAB, CSS, Arduino

**Spoken Languages:**

English, Spanish

**Professional Interests:**

Robotics and Autonomous Systems, Embedded Systems

**Statistics**

RANK**37**

of 275,850

REPUTATION**5,200**

CONTRIBUTIONS

**0** Questions

**2,192** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**582**

RANK**2,257** of 18,575

REPUTATION**731**

AVERAGE RATING**4.80**

CONTRIBUTIONS**21** Files

DOWNLOADS **194**

ALL TIME DOWNLOADS**5867**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Repeat a string (not a character array)

True string are a relatively recent addition to MATLAB, first having been available in R2016. Strings contrast with character ar...

1 month ago

Solved

Median filter over three values

Implement 1-D median filter over input vector x as described: Moving window size is 3 Output is middle/central value in moving...

2 months ago

Solved

Generate Hadamard Matrix

In mathematics, a Hadamard matrix, named after the French mathematician Jacques Hadamard, is a square matrix whose entries are e...

2 months ago

Solved

Compute the area of the shoemaker’s knife

A shape resembling a shoemaker’s knife is constructed from a semicircle with diameter with two semicircular “bites” of diameter...

2 months ago

Solved

Find patterns in subprime Fibonacci sequences

Lots of Cody problems involve Fibonacci and Collatz sequences. Fibonacci sequences start with two numbers, and later terms are c...

2 months ago

Solved

Hermite Polynomials

Problem 1304 deals with Hermite polynomial of the physicist's type. In this problem, Return the n-th Hermite polynomial of the ...

2 months ago

Solved

About jokes (and compression)

An argument can be made about jokes. The shorter they are, the funnier. Further explained here: https://en.wikipedia.org/wiki/Hu...

2 months ago

Solved

Counting Permutations

In the permutations of the numbers 1 to n, count the number of permutations in which exactly m elements are greater than the pre...

2 months ago

Solved

Play with array Min-Max

An array is provided. For example, a= [ 2,1,11,4,5,13] Create an array from a like this way, out= [ 1,11,2,13,4,5] ➢ 1st take...

2 months ago

Solved

An array is given that contains the marks. Find out the highest 3 marks

An array is given that contains the marks received by a group of students in their class test. Find out the highest 3 marks rec...

2 months ago

Solved

Given a matrix X, manipulate it accordingly

Given a matrix X, 1st add a column to the matrix whose elements are the summation of each rows. Then add a row to the matrix who...

2 months ago

Solved

An array is given. Find the unique elements of the array. [keep the sequence unchanged]

An array is given. Find the unique elements of the array. [keep the sequence unchanged] For example if input x=[2 ,4 , 9 ,2 ,...

2 months ago

Solved

Find alternating sum

Given an array, find alternating sum i.e. – y = x (1) – x (2) + x (3) – x (4) + x (5) - …

2 months ago

Solved

Extract the prime numbers

Given a list of elements, extract the prime numbers from that array.

2 months ago

Solved

Compute the unitary totient of a number

The totient function , the subject of Cody Problems 656 and 50182, gives the number of integers smaller than that are relativel...

3 months ago

Solved

Easy Sequences 84: Digits of Powers of 5

OEIS sequence #A008566, deals with the following series: This sequence is the digits of powers of 5 listed si...

3 months ago

Solved

Travelling Salesman Problem (TSP)

Find a short way through given points. This is the travelling salesman problem. But the solution should be a fast and small func...

3 months ago

Solved

Locate image wells

A mathematical model of wells pumping groundwater near a boundary can be constructed using the method of images, which is also u...

3 months ago

Solved

Determine if input is a Harshad number

In mathematics a harshad number (or Niven number) in a given number base is an integer that is divisible by the sum of its digit...

3 months ago

Solved

Compute the largest number with a given integer complexity

Cody Problems 42831 and 42834 ask us to compute integer complexity, the smallest number of 1s needed to construct a number with ...

3 months ago

Solved

Compute the Tetris sequence

In the Tetris sequence, which starts with a 1, the next term is the smallest positive integer not already in the sequence that h...

3 months ago

Solved

JannaT is Loved By Me

JannaT was sTarTed loved by me and that time was in 2020. A year when JannaT will starT loving me when the year divided from th...

3 months ago

Solved

Easy Sequences 87: Perfect Power Modular Residue of a Nested Sum-product Function

For a positive integer , we define the function , as follows: ; and for . He...

3 months ago

Solved

Compute a nested cube root

Consider the quantity . Write a function to compute without using loops or recursion.

3 months ago

Solved

Intersection points of a polynomial

Find the intersection points of a polynomial, given by its vector of coefficients with the X-axis and the Y-axis. Input: a poly...

3 months ago