
David Hill
Electrical Engineering with minors in Computer Science and Mathematics. Working as an Undergraduate Research Assistant in the field of Robotics and Computational Photonics. Currently working on cutting-edge adaptive algorithms for controlling soft robots and other underdefined systems. Plan on continuing my education by pursuing a masters in mechanical engineering (robotics) and a MBA.
Python, C++, C, Java, MATLAB, HTML, Arduino
Spoken Languages:
English, Spanish
Statistics
RANK
41
of 262.602
REPUTATION
4.402
CONTRIBUTIONS
0 Questions
1.869 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
478
RANK
2.526 of 17.976
REPUTATION
621
AVERAGE RATING
4.80
CONTRIBUTIONS
21 Files
DOWNLOADS
120
ALL TIME DOWNLOADS
4759
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Match numbers to allocate text
Your could also use a sparse array or an array of nan. x=[12 13 19 21]; y=[12 13 19 24 21 12 12]; X=nan(1,25); X(x)='ABCD'; ...
1 día ago | 0
How to find x value for a known y in array plot?
[~,idx]=min(abs(y-.8*max(y)));%.8*max(y) is not part of the y-array, find the closest y-idx to that value x(idx)
2 días ago | 0
Solved
Rule of mixtures (composites) - weighted bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...
6 días ago
Solved
Rule of mixtures (composites) - lower and upper bounds (volumes)
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...
6 días ago
Solved
Get ranks of values in a vector
For a given vector, say [6 3 8 2], return the ranks (ascending) of observations, i.e. [3 2 4 1]. Do not worry about tied ranks. ...
6 días ago
Solved
Handle to an array of functions
Given a cell array of functions that operate on scalars, it is required to return a function handle to process a vector of value...
6 días ago
Solved
Apply a function array to an array of numbers
It is required to apply a cell array of functions to a numerical array, where the functions accept only scalar inputs. Exampl...
6 días ago
Solved
Calculate value of capacitor
Given the value of resistance and time at which capacitor charges to it's 99%. calculate the value of capacitor
6 días ago
Solved
Visualization of experimental data across a surface
Assume that you have taken data across the surface of a sample, for example sheet resistance. The data is stored in a Nx3 matri...
6 días ago
Solved
Define the operators of function_handles
Suppose f and g are function_handles, try to define f+g,f-g,f*g and f/g. e.g. if f = @(x)x and g = @(x)x+1 ...
6 días ago
Hello, I need help with: Replace elements in Vector A with those of vector B of the same position, only if they meet a certain condition, otherwise replace by a zero. Thanks
t=4; A = [3 7 1 3 10 3 4 1 5 5]; B = [5 3 6 1 6 3 5 4 9 ...
7 días ago | 0
Solved
Best Fit RMS
Given a set of data as x and y, find the <http://en.wikipedia.org/wiki/Root_mean_square RMS> value between the data and its best...
7 días ago
Solved
Find my birthday
Given a birth date x, find my age when my birth day will fall on the same day as I was born. So if I was born on Monday, what ag...
7 días ago
Solved
Create a v-notch vector without "sort" function
Given a vector vec, create a v-shaped vector as shown below: vec = [ 10 2 3 89 5 7 90 0 12] Output vector = [90 89 12 10 7 5 3 ...
7 días ago
Solved
Tax Season ! How much is my salary?
Tax Season! I was employed for a period from x until y in a year and I get pay check of amount z on every alternate Friday of th...
7 días ago
Plot two histograms over one another
Play with the color and alpha face to get something you like. https://www.mathworks.com/matlabcentral/fileexchange/47552-histf?...
7 días ago | 0
Replacing Values in Matrix that are not equal to 1 while excluding 'NaN'
test2=test1; test2(test2==2)=1; test2(test2<0)=0;
7 días ago | 0
How do i insert one value from one array to another array
Look at pdist2 A = [1,2;2,1;1,1;1,3;3,2] ; B = [0.5,0.5;2,2]; pdist2(A,B)
7 días ago | 0
how to create a list of random number with a minimum difference between each number?
You can brute force it. m=200;%randomn numbers between 1-200 n=50;%array length d=20;%minimum distance a=randi(m,100000,n);%...
7 días ago | 0
Solved
Tony's trick for duplicating an mx1 vector n times
Without using repmat, or for loop, or concatenation, create a function to duplicate a vector, v, a specified number of times, n....
8 días ago
Solved
Create numeric palindromes and their square roots
Given a number n (1<=n<=9), return a left justified numeric matrix p with all the palindromes of the form 1 to n and back to 1. ...
8 días ago
Solved
persistant sum
There will be 9 tests for this problem. In each test you will be provided with 2 integers n=[n1,n2], where n2 is equal to t...
8 días ago
Solved
List the semiprimes
A semiprime number—or a 2-almost prime—is the product of two prime numbers. The numbers and are semiprimes, but and are not....
8 días ago
Solved
Cyclotomic polynomial
Given a Natural number (N), return the corresponding Cyclotomic Polynomial.
8 días ago
How to extract two columns from cell table based on two conditions
It is all number so I would convert to a matrix. H=cell2mat(heart(:,[6,9])); mesure_sodium=H(H(:,6)==1&H(:,9)<135,:);
8 días ago | 0
| accepted
combine two cell into one string
c=readtable('SummaryResult - Copy.xlsx'); m=[cell2mat(c.PLDStatus([1:6,20:23])),repmat('_',10,1),num2str(c.BLFFileName([1:6,20:...
8 días ago | 0
Solved
Fill an array given a sum and array length values
Fill an array with random numbers so that their sum and array length will be equal to the given values as input. Function will ...
8 días ago
Solved
Number construction II
Given a positive integer, n, return a, b, c and d, such that 1. n = a*2^b+c*3^d 2. a, b, c and d are all positive integers...
8 días ago
Solved
Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3
8 días ago
Solved
Convert float to base N
The matlab function dec2base converts a positive integer number to a specified base. Extend it so that it works with non intege...
8 días ago