Community Profile

photo

David Hill


Last seen: Today
2.199 total contributions since 2017

Contact

David Hill's Badges

  • 12 Month Streak
  • Guiding Light
  • Knowledgeable Level 4
  • Indexing II Master
  • Sequences And Series III Master
  • Puzzler
  • 5-Star Galaxy Level 3
  • Personal Best Downloads Level 3
  • First Review
  • Scholar
  • First Submission
  • Revival Level 1
  • Creator
  • Leader
  • Computational Geometry II Master

View all

Contributions in
View by

Solved


Find R*Rp-N*Np=1 given gcd(R,N)=1

circa un'ora ago

Solved


Montgomery Reduction Algorithm (REDC)

circa un'ora ago

Problem


Montgomery Reduction Algorithm (REDC)

circa un'ora ago | 0 | 1 solver

Problem


Find R*Rp-N*Np=1 given gcd(R,N)=1

circa 3 ore ago | 0 | 2 solvers

Problem


Output the Montgomery Form of the Input Matrix

circa 4 ore ago | 0 | 1 solver

Solved


Determine the number of correct and incorrect answers
In a Multiple Choice Question Test, you are to sort out answer from 4 samples, one of them is correct answer. There are 50 quest...

circa 4 ore ago

Solved


CowBoy
A group of cowboys standing in circle form. They have one gun. The first cowboy shoot the cowboy beside him (second one) and giv...

circa 4 ore ago

Solved


Matrix Manipulation
Given an m*n matrix, see if a matrix contains any 0s in any row. if it contains 0 anywhere in any particular row, delete that ro...

circa 4 ore ago

Solved


cos for boss?
a programmer had too much coffee and his boss needs cos(alpha+beta) correctly, especially when alpha or beta are close to pi/2 a...

circa 5 ore ago

Solved


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

circa 5 ore ago

Solved


Find indices of diagonal elements
Given a matrix A and a diagonal index d (where 0 indicates the main diagonal and off-diagonals are identified by positive and n...

circa 6 ore ago

Solved


Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.

circa 6 ore ago

Solved


Area of square
Find the area of a square whose diagonal length is given as x.

circa 6 ore ago

Solved


Calculate the volume of a cone
Calculate the volume of a cone given an array containing one column of radii and one column of the height of the cone. * Reme...

circa 6 ore ago

Solved


Sort the prime numbers in each row of a 3x3 matrix
Considering a 3x3 matrix A, sort the prime numbers of each row in ascending order. For exemple: input A=[5 8 2 4; ...

circa 6 ore ago

Solved


Create a magic square matrix for a given odd integer
A magic square of size 'N' is a matrix that satisfies the following criterias: # Dimension - NxN # Matrix should contain ALL...

circa 6 ore ago

Solved


Sum of diagonals
Compute the sum of diagonal elements of a square matrix and store the larger sum to s. Eg : a = [1 2 3; 2 3 4; 4 5 10] ...

circa 6 ore ago

Solved


Reverse within string
If input is a string 'yellow' the output should be 'leywol'. Locate the middle of the string and reverse the first (yel) and sec...

circa 6 ore ago

Solved


Rotate it!
Given a set of points, your aim is to rotate it by a given angle "theta" CCW (in 2d). The points are given in a matrix(x) of dim...

circa 7 ore ago

Solved


NO _________ ALLOWED....
So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...

circa 22 ore ago

Solved


Higher! Lower! Correct!

circa 22 ore ago

Solved


One-hot encoding

circa 22 ore ago

Solved


How many Fibonacci numbers?
Find the number of unique Fibonacci numbers (don't count repeats) in a vector of positive integers. Example: x = [1 2 3 4...

circa 23 ore ago

Solved


Neither minima nor maxima
Input v is a vector. Return all the elements of v which are not a local minimum or maximum. Example: v = [1 2 3 4 5] Ou...

circa 23 ore ago

Solved


Vector push
Append an element |x| to the end of the vector |v| and return both the extended vector and the new number of its elements. |x| c...

2 giorni ago

Answered
Find the maximum value corresponding to the specific index
Assuming a two column matrix maX= max(yourMatrix(yourMatrix(:,1)==1,2));

3 giorni ago | 0

| accepted

Answered
Find Number of values filtered through conditioned for loops
No loops needed. x=rand(1,100); y=rand(1,100); filtered_array=[x(abs(x)<=.5),y(abs(y)<=.5)]; a=length(filtered_array);%this ...

3 giorni ago | 0

Answered
How do I use elements in a vector to create a number
Take whatever indexes of the vecture you want to create the number out of say 1:3 x=[1 2 3 4 9 7]; y=num2str(x(1:3)); y=str2d...

3 giorni ago | 0

| accepted

Load more