Community Profile

photo

David Hill


Last seen: Today Active since 2017

Electrical Engineering with minors in Computer Science, Mathematics, and Creative Writing.

Working as Undergraduate Research Assistant in the field of Computational Photonics

Statistics

All
  • MATLAB Mini Hack Participant
  • Treasure Hunt Participant
  • 24 Month Streak
  • Revival Level 2
  • Promoter
  • Sequences And Series II Master
  • Personal Best Downloads Level 4
  • 5-Star Galaxy Level 4
  • Cody5 Easy Master
  • Number Manipulation II Master
  • Draw Letters
  • Cody Problems in Japanese Master

View badges

Content Feed

Solved


Easy Sequence 61: Wide Pythagorean Triangles
An integer-sided right triangle with sides , is called a "wide Pythagorean triangle", if , and . Write a program that counts a...

1 day ago

Solved


Easy Sequences 63: Base-63 Arithmetic Functions
In this exercise we are required to implement 7 basic 'unsigned integer' arithmetic functions in base-63: to63(x) - convert...

3 days ago

Solved


Easy Sequences 57: "Pretty-gorean" Triangles?
A positive integer is called a regular number, if and only if there exist a non-negative integer , such that . For some reason...

3 days ago

Solved


Easy Sequences 59: Almost Twin Primes
A positive integer pair , is called an "almost twin prime pair", if one of the pair is a prime and the other is either a prime o...

6 days ago

Answered
Index Out of Bound for 1x1 Array
Use readmatrix data1 = readmatrix('4665_10.85.txt');

6 days ago | 0

Solved


Draw 'P' !!!
Draw a n by n matrix 'P' using 0s and 1s. (n is odd and greater than 4) if n=5 , then the output will be [1 1 1 1 1 1 0 0 0...

6 days ago

Solved


List the Beatriz numbers
Write a function to find integers less than or equal to an input value that solve the equation . The function gives the sum o...

6 days ago

Solved


Is A matrix the inverse of B matrix ?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse(A,B) ans = 1

7 days ago

Solved


Find the summation, mean, median, mode and standard deviation of a given array.
An array is given. Find out the summation, mean, median, mode and standard deviation of a given array. If x=[1,2,2,3,3,3,4,4,4,...

7 days ago

Solved


SatCom #9: Overall Link Performance
Satellite and Space Engineering - Problem #9 This is part of a series of problems looking at topics in satellite and space comm...

8 days ago

Solved


SatCom #8: Satellite Link Budget
Satellite and Space Engineering - Problem #8 This is part of a series of problems looking at topics in satellite and space comm...

8 days ago

Solved


SatCom #5: Determine Elliptical Orbit Parameters
*Satellite and Space Engineering - Problem #5* _This is part of a series of problems looking at topics in satellite and space...

8 days ago

Solved


SatCom #10: Rate of Precesion of Orbit Plane (Nodal Precession)
Satellite and Space Engineering - Problem #10 This is part of a series of problems looking at topics in satellite and space com...

8 days ago

Solved


Easy Sequences 55: "Ugly" Rectangles?
A positive integer is called a regular number, if and only if there exist a non-negative integer , such that . For some reason...

8 days ago

Solved


Easy Sequences 56: Counting "Ugly" Numbers
A positive integer is called a regular number, if and only if there exist a non-negative integer , such that . For some reason...

8 days ago

Solved


Total resistance of resistors in series
What is the total resistance of a number of resistors in series? A vector R contains the resistances (in Ohm) of n resistors, w...

9 days ago

Solved


Total resistance of resistors in parallel
What is the total resistance of a number of resistors in parallel? A vector R contains the resistances (in Ohm) of n resistors,...

9 days ago

Solved


Total resistance of a network of resistors in series and parallel
What is the total resistance of a network of resistors in series and in parallel? A matrix R contains the resistances (in Ohm) ...

9 days ago

Solved


Easy Sequences 62: Sum of Omega-3 Function
For an integer , the prime big omega function, , is defined as the total number of prime factors of . If , since , therefore . ...

9 days ago

Solved


Easy Sequences 36: Hyperbolic Lattice Points
The graph, shown below, of the hyperbola: , passes through four positive lattice points:. ...

9 days ago

Solved


Easy Sequences 37: Natural Factorable Polynomials
A polynomial of the form: , for , is said to be natural factorable if it can be factored into products of first degree binomials...

10 days ago

Solved


Easy Sequences 35: Cutting a donut to Semi-prime pieces
The figure below illustrates how a torus (donut shape) can be cut in pieces with only cuts: ...

11 days ago

Solved


Easy Sequences 29: Odd proper divisors of odd proper divisors
The number is special. It has odd number of proper divisors: . Furthermore, if you take any of its proper divisors, say , it t...

11 days ago

Solved


Easy Sequences 32: Almost Pythagorean Triples
An Almost Pythagorean Triple (abbreviated as "APT'), is a set of 3 integers in which square of the largest element, which we wil...

12 days ago

Solved


Easy Sequences 60: Almost Cube Root
The almost cube root of an integer , is the largest possible integer , such that and . For example , then , since and since th...

12 days ago

Answered
Merge selected column elements from two matrices into a new matrix
If the number of non-zeros is not constant in the combined cA,cB rows, then cT will need to be a cell array. for k=1:size(cA,1)...

13 days ago | 0

| accepted

Answered
ive tried doing it but i dont know why the plot is not right t=-2:0.1:2; if t<=-1 y=-5.*t-5; elseif t<0 y=t.^2+1; elseif t<1 y=pi.^t; elseif t>=1 y=pi+sin(pi
t=-2:.1:2; f=zeros(size(t)); f(t<=-1)=-5*(t(t<=-1))-5; f(t>-1&t<0)=t(t>-1&t<0).^2+1; f(t>=0&t<1)=pi.^(t(t>=0&t<1)); f(t>=1)...

17 days ago | 0

| accepted

Answered
If statement without loop
TR1_Ge70(TR1>TR1_Ge70(:,1))=0; for k=1:size(A,2) C(:,:,k)=A(:,k).*B; end

20 days ago | 0

Answered
sorting with respect to specific column
s=sortrows(yourMatrix,6);

21 days ago | 0

| accepted

Load more