Community Profile

photo

David Hill


Last seen: Today 2017 이후 활성

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.

Programming Languages:
Python, C++, C, Java, MATLAB, HTML, Arduino
Spoken Languages:
English, Spanish

Statistics

All
  • MATLAB Mini Hack Participant
  • Treasure Hunt Participant
  • 36 Month Streak
  • Revival Level 2
  • Magic Numbers Master
  • Word Puzzles Master
  • Personal Best Downloads Level 4
  • 5-Star Galaxy Level 4
  • Promoter
  • Sequences And Series II Master
  • Cody5 Easy Master
  • Number Manipulation II Master

배지보기

Content Feed

보기 기준

답변 있음
Want to run same script for 100 times without changing any variable and then taking the average of the output.
for k=1:100 yourScript; Output(k)=y;%whatever variable that is the output end m=mean(Output); plot(Output);

약 4시간 전 | 0

해결됨


Chain multiplication - 04
Following up on the problem in 55305, you found the optimal way to multiply a chain of matrices. However, here in this problem,...

약 5시간 전

해결됨


Nuemann Polynomials
Return the coefficients of nth (n>=0) Nuemann polynomial, (a sequence in 1/t) as polynomials in alpha. The expected output is a...

약 7시간 전

답변 있음
How to jump to first loop if nest for loop need to terminate due to condition
for i=1:10 for j=1:100 %code tline=fgetl(fid) if tline==-1 break; end fprintf(fid,tline) ...

약 21시간 전 | 0

답변 있음
how do i store mutiple txt files into a 3d matrix
Matrix=zeros(156,207,3000); for i = 1:3000 Matrix(:,:,i)=readmatrix(['frames_' num2str(i-1) '.txt']); end

1일 전 | 0

답변 있음
Is there a more efficient way to format my vector rather than manually change the code
TV =@(tme) [tme(1):30:tme(2)-30, tme(2):15:tme(3)-15, tme(3):12:tme(4)-12,... tme(4):2.4:tme(5)-2.4, tme(5):2.1428:tme(6)-2...

1일 전 | 0

| 수락됨

답변 있음
How to plot a data in spherical coordinates?
[x,y,z]=sph2cart(th,conc,r); surf(x,y,z);

1일 전 | 0

| 수락됨

답변 있음
How can I make these few lines a function?
function graphSetup() set(gca,'color',[1 1 1]); set(gcf,'Position',[-2237,65,2084,1272],'Resize','on'); box on; set(...

1일 전 | 1

| 수락됨

해결됨


Count estrangements
Recently I made a puzzle for my wife that included a cryptogram, which involves an arrangement of the letters A through Z. I use...

2일 전

해결됨


Chain multiplication - 03
Following up the problem in 55305, you found the minimum number of multiplications needed to multiply a chain of matrices. In ...

2일 전

답변 있음
I want to subset values in a table based on a range of numbers specific to one of my variables.
W=randi(500,100,1); A=randi(500,100,1); M=[W(W>=400&W<+450),A(W>=400&W<+450)]

2일 전 | 0

답변 있음
Only applying a "for" command on half of the matrices in it
m=randi(10,10,10,60);%generate your matrix (should store as 3-D matrix) r=randperm(60,30);%generate the 30 affected matrices f...

2일 전 | 0

해결됨


Chain multiplication - 02
Following up on the problem in 55295, you found the number of multiplications needed to multiply two matrices. Now, you are giv...

2일 전

해결됨


Cut the rod
A rod of length n can be cut in different sizes. Different price is associated with different length of cuts. length, len= [1,...

2일 전

해결됨


Number of leaps in binary search
Binary search is one of the most popular searching algorithms (Binary Search Algorithm). It works only in a sorted array. It uti...

2일 전

해결됨


Sort Non-zeros
Consider 0s in a vector creates a break-point. sort all the sub-arrays created by those break points. For example, a = [3, 4, 1...

2일 전

해결됨


Chain multiplication - 01
Say, you are given two matrices - A (shape= 3*4) and B(shape = 4*5). If you multiply these two matrices, the resultant matrix w...

3일 전

답변 있음
How to convert character column to 4 byte (total 32 bits) data?
dec2bin(15226547,32)-'0'

6일 전 | 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)....

6일 전 | 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...

6일 전 | 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...

6일 전 | 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'; ...

9일 전 | 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)

10일 전 | 0

해결됨


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

14일 전

해결됨


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

14일 전

해결됨


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

14일 전

해결됨


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

14일 전

해결됨


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

14일 전

더로드