photo

David Hill


Active since 2017

Followers: 7   Following: 0

Message

MS - Robotic Systems Development (MRSD) from CMU, BS - Electrical Engineering with minors in Computer Science and Mathematics from BYU.

Programming Languages:
MATLAB, Python, C++, C, Java, Javascript, R, CSS, Arduino
Spoken Languages:
English, Spanish
Professional Interests:
Robotics and Autonomous Systems, Motion and Path Planning, SLAM, Embedded Systems

Statistics

All
MATLAB Answers

0 Questions
2,210 Answers

File Exchange

22 Files

Cody

64 Problems
5508 Solutions

Discussions

7 Discussions

RANK
37
of 301,695

REPUTATION
5,348

CONTRIBUTIONS
0 Questions
2,210 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
626

RANK
1,615 of 21,386

REPUTATION
1,175

AVERAGE RATING
4.60

CONTRIBUTIONS
22 Files

DOWNLOADS
69

ALL TIME DOWNLOADS
9524

RANK
3
of 176,117

CONTRIBUTIONS
64 Problems
5508 Solutions

SCORE
59,473

NUMBER OF BADGES
145

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
7 Discussions

AVERAGE NO. OF LIKES
0

  • MATLAB Mini Hack Participant
  • Treasure Hunt Participant
  • Ace
  • 36 Month Streak
  • Cody Contest 2025 Finishers
  • Indexing III Master
  • Personal Best Downloads Level 4
  • 5-Star Galaxy Level 4
  • Indexing V Master
  • Strings III Master
  • Strings II Master
  • R2016b Feature Challenge Master

View badges

Feeds

Solved


Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the shorter leg.
Further to the problem 43236, find the length of shorter leg P.S No built-in functions allowed

8 hours ago

Solved


Engine torque and RPM
Torque and power are related through rotational speed. Knowing brake power and engine RPM, you can back-calculate the torque del...

8 hours ago

Solved


Volumetric efficiency
Volumetric efficiency measures how well an engine breathes. The ratio of the actual air mass drawn in per cycle to the theoreti...

8 hours ago

Solved


Specific Fuel Consumption
Brake-specific fuel consumption (BSFC) measures how efficiently an engine converts fuel mass into useful work. Lower is better...

8 hours ago

Solved


Engine Displacement
Engine displacement is the total swept volume of all cylinders. It is determined by bore (cylinder diameter), stroke (piston tra...

8 hours ago

Solved


Piston Mean Speed
Mean piston speed is a critical mechanical stress indicator — it sets limits on valve timing, bearing loads, and material fatigu...

8 hours ago

Solved


Engine Thermal Efficiency
The thermal efficiency of an ideal Otto cycle engine depends only on the compression ratio. A higher compression ratio yields gr...

8 hours ago

Solved


Fuel-Air Equivalence Ratio (Lambda)
Lambda (λ) is the ratio of actual air-fuel ratio to the stoichiometric air-fuel ratio. λ = 1 is perfect stoichiometry, λ < 1 is ...

8 hours ago

Solved


Brake Mean Effective Pressure (BMEP)
BMEP is a normalised measure of engine work output per cycle per unit displacement. It lets you compare engines of different siz...

8 hours ago

Solved


Swept Volume and Clearance Volume
The swept volume (V_s) is the volume displaced by the piston as it travels from BDC (Bottom Dead Centre) to TDC (Top Dead Centre...

8 hours ago

Solved


Geometric Compression Ratio
The geometric compression ratio CR is the ratio of the total cylinder volume at BDC to the clearance volume at TDC. It is one of...

8 hours ago

Solved


switch base, again
Before Dyuman Joshi kindly fixed it, the test suite for problem 60436 contained some syntax errors that made the problem unsolva...

3 days ago

Solved


Convert Celsius temperature to Fahrenheit
Given a temperature in Celsius, return the equivalent in Fahrenheit. Formula: F = C * 9/5 + 32Example: cel2fahr(100) returns 212...

17 days ago

Solved


Find the Longest Consecutive Increasing Path in a Matrix
Given a 2D matrix of integers, find the length of the longest path where each step moves to an adjacent cell (up, down, left, ri...

17 days ago

Solved


Replace All Below-Average Elements in a Matrix with Zero
Given a 2D matrix of numbers, find the mean of all elements. Replace any element that is strictly below the mean with 0. Return ...

17 days ago

Solved


Reverse the characters of a string
Given a string, return the string with characters in reverse order. Example: rev_string('hello') returns 'olleh'

17 days ago

Solved


Count the vowels in a string
Given a string, return the number of vowels (a, e, i, o, u — case insensitive). Example: count_vowels('Hello World') returns 3

17 days ago

Solved


Sum the main diagonal of a matrix
Given a square matrix, return the sum of its main diagonal elements. Example: diag_sum([1 2 3; 4 5 6; 7 8 9]) returns 15

17 days ago

Solved


Count how many elements are above the mean
Given a vector, return the count of elements strictly greater than the mean of the vector. Example: above_mean_count([1 2 3 4 5]...

17 days ago

Solved


Keep Only Even Numbers
Given a vector, return a new vector containing only the even numbers in their original order. Example: keep_evens([1 2 3 4 5 6])...

17 days ago

Solved


Determine if a number is prime
Given a positive integer n, return 1 if it is prime, 0 otherwise. Example: is_prime(7) returns 1, is_prime(4) returns 0

17 days ago

Solved


Triangle Area Using Heron's Formula
Given the three side lengths a, b, and c of a triangle, calculate its area using Heron's formula and round to 4 decimal places. ...

17 days ago

Solved


[Master Regular Expression] Reformat Phone Number
You are given a phone number as a string number. number consists of digits, spaces ' ', and/or dashes '-'. You would like to re...

18 days ago

Solved


[Master Regular Expression] Goat Latin
You are given a string sentence that consist of words separated by spaces. Each word consists of lowercase and uppercase letters...

18 days ago

Solved


[Master Regular Expression] Vowel-Consonant Score
You are given a string s consisting of lowercase English letters, spaces, and digits. Let v be the number of vowels in s and c ...

18 days ago

Solved


[Master Regular Expression] Unique Email Addresses
Every valid email consists of a local name and a domain name, separated by the '@' sign. Besides lowercase letters, the email ma...

18 days ago

Solved


[Master Regular Expression] Strong Password Checker II
A password is said to be strong if it satisfies all the following criteria: It has at least 8 characters. It contains at l...

18 days ago

Solved


Multiply the input by five
Create a function that takes an input x and returns an output y that is five times larger.

19 days ago

Solved


Robust Main Diagonal Sum with Special Value Handling in Arrays
Compute the sum of the diagonal elements of an array (vector or matrix). If array is not square return the char array: 'no-squa...

22 days ago

Solved


[Master Regular Expression] Validate IP Address
Given a string queryIP, return "IPv4" if IP is a valid IPv4 address, "IPv6" if IP is a valid IPv6 address or "Neither" if IP is ...

23 days ago

Load more