# 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**38**

of 272,926

REPUTATION**5,122**

CONTRIBUTIONS

**0** Questions

**2,164** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**567**

RANK**2,338** of 18,433

REPUTATION**700**

AVERAGE RATING**4.80**

CONTRIBUTIONS**21** Files

DOWNLOADS **144**

ALL TIME DOWNLOADS**5547**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

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

1 day 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 days 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 days 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 days 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 days 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 days ago

Solved

Extract the prime numbers

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

2 days ago

Professor needs specific color for bar graph, but the hex code for the color is not working.

bar(1,10,'FaceColor','#18453B')%use FaceColor

5 days ago | 0

I am learning still and i have no idea how to write 8y''' - y' = cos(20t) + sin(2t) in matlab

Your boundary condition was not provided. [t,y] = ode45(@vdp1,[0 1],[0; 0; 0]); subplot(3,1,1); plot(t,y(:,1)); subplot(3,1,...

5 days ago | 0

How to convert categorical data to double with unique rows

a=readtable('Book1.xlsx'); b=zeros(size(a)); b(ismember(a.Vertical_Steering,'Limbo'))=6

7 days ago | 1

| accepted

Matrix manipulation / if else loops

Misunderstood you previously. m = [0 0 0; 1 0 0; 1 1 0; 1 0 0; 1 0 0; 1 1 1; 0 1 1; 0 1 1; 1 1 1; 1 1 0; 1 1 0; 1 0 0; 1 1 0; 1...

7 days ago | 0

| accepted

How I find four or five colunms with distict rows from a table

First convert your table into a matrix using table2array() A=randi(100,115,64); k=nchoosek(1:64,5);%all combinations of 5 colu...

7 days ago | 0

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

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

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

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

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

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

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

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

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

25 days ago

Solved

Compute a nested cube root

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

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

26 days ago

Solved

Harmonic series counting

The function takes a positive limit as input, And counts how many terms must be summed in the harmonic series: 1/1, 1/2, 1/3, ...

26 days ago

Solved

01-01: 正弦波の生成

「MATLABで学ぶ実践画像・音声処理入門」のプログラム1-1 と同じ正弦波を、サンプリング周波数 10kHz で生成し、返却する関数を作成せよ。

26 days ago

Solved

Compute the Lagarias Riemann Hypothesis sequence

Write a function that takes an input number and produces a sequence (i.e., all values up to and including the th value) compute...

26 days ago

Solved

Solve an equation involving primes and fractions

Write a function to find pairs of primes and satisfying the equation where is an integer. The function should take a numbe...

27 days ago

Solved

Easy Sequences 83: Digits of Powers of 3

This problem is a simpler version of 'Easy Sequences 82: Digits of Powers of 2'. Given integers and , we are asked to return th...

1 month ago

Solved

Dyck words

A Dyck word can be considered as a string of n X's and n Y's arranged to have at least as many X's in an initial segment of the ...

1 month ago