
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.745
REPUTATION
4.406
CONTRIBUTIONS
0 Questions
1.873 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
480
RANK
2.523 of 17.989
REPUTATION
622
AVERAGE RATING
4.80
CONTRIBUTIONS
21 Files
DOWNLOADS
115
ALL TIME DOWNLOADS
4774
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
How to convert character column to 4 byte (total 32 bits) data?
dec2bin(15226547,32)-'0'
1 giorno ago | 0
Extract specific rows and columns from excel and store in a matrix
If formating is consistent, readmatrix should work. listing=dir; M=[]; for k=1:length(listing) m=readmatrix(listing(k)....
1 giorno ago | 0
I want to create a binary matrix with a variable dimensions
k=10; M=50; O=randi(M+1,k)-1;%number of ones per row (number of zeros per row= 50 - O) for n=1:k m=[ones(1,O(n)),zeros(1...
1 giorno ago | 0
Combination of 2 image
idx=find(B(:,:,1)~=0&B(:,:,2)~=0&B(:,:,3)~=0);%find ~black pixels in image B C=B; C(idx)=A(:,:,idx);%set ~black pixels to imag...
1 giorno ago | 0
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'; ...
5 giorni 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)
6 giorni 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...
9 giorni 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...
9 giorni 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. ...
10 giorni 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...
10 giorni 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...
10 giorni 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
10 giorni 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...
10 giorni 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 ...
10 giorni 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 ...
10 giorni 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...
10 giorni 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...
10 giorni 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 ...
10 giorni 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...
10 giorni 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?...
10 giorni 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;
11 giorni 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)
11 giorni 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);%...
11 giorni 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....
11 giorni 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. ...
11 giorni 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...
11 giorni 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....
11 giorni ago
Solved
Cyclotomic polynomial
Given a Natural number (N), return the corresponding Cyclotomic Polynomial.
11 giorni 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,:);
11 giorni 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:...
11 giorni ago | 0