Community Profile

photo

William


Last seen: Today Con actividad desde 2012

Semi-retired physicist with interests in numerical modeling and mathematics.

Statistics

All
  • Treasure Hunt Participant
  • MATLAB Central Treasure Hunt Finisher
  • Thankful Level 2
  • Knowledgeable Level 3
  • Computer Games I Master
  • R2016b Feature Challenge Master
  • 6 Month Streak
  • Logic
  • Knowledgeable Level 2
  • Quiz Master
  • Leader
  • First Answer

Ver insignias

Content Feed

Ver por

Resuelto


Generate Hadamard Matrix
In mathematics, a Hadamard matrix, named after the French mathematician Jacques Hadamard, is a square matrix whose entries are e...

alrededor de 7 horas hace

Resuelto


Median filter over three values
Implement 1-D median filter over input vector x as described: Moving window size is 3 Output is middle/central value in moving...

1 día hace

Resuelto


Is this triangle right-angled (mixed sides)?
Implement function returning if triangle is right angled or not? Input argument is vector row with not ordered triangle sides. ...

2 días hace

Resuelto


Find the remainder - 01
Given an array of integers, find the remainder when the product of all the elements is divided by N

3 días hace

Resuelto


How many apples
You have x apples I take from you y apples now how many apples you have ?

3 días hace

Resuelto


Minimum Maximum Sort Array
sort one array by put minimum value followed by maximum as follow a=[2 3 1 5] and the solution is y=[1 5 2 3 3 2 5 1];

4 días hace

Resuelto


Polygon Interior Angle Sum
Given the number of sides of a regular polygon, find the sum of interior angles. Return 0 for input for which regular polygon a...

4 días hace

Resuelto


Compute frequency factors for the normal distribution
In frequency analysis in hydrology, the streamflow corresponding to a specified exceedance probability (or return period ) can...

5 días hace

Resuelto


Easy Sequences 83: Digits of Powers of 3
This problem is a simpler version of 'Easy Sequences 82: Digits of Powers of 2'. Given integers and , we are asked to return th...

5 días hace

Resuelto


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

6 días hace

Resuelto


About jokes (and compression)
An argument can be made about jokes. The shorter they are, the funnier. Further explained here: https://en.wikipedia.org/wiki/Hu...

8 días hace

Resuelto


Counting Permutations
In the permutations of the numbers 1 to n, count the number of permutations in which exactly m elements are greater than the pre...

12 días hace

Resuelto


Determine flows of given probability using empirical frequency analysis
Write a function that takes as input observations of peak streamflow and exceedance probabilities expressed as percentages an...

13 días hace

Resuelto


Extract the prime numbers
Given a list of elements, extract the prime numbers from that array.

14 días hace

Resuelto


Find alternating sum
Given an array, find alternating sum i.e. – y = x (1) – x (2) + x (3) – x (4) + x (5) - …

14 días hace

Resuelto


Play with array Min-Max
An array is provided. For example, a= [ 2,1,11,4,5,13] Create an array from a like this way, out= [ 1,11,2,13,4,5] ➢ 1st take...

14 días hace

Resuelto


Given a matrix X, manipulate it accordingly
Given a matrix X, 1st add a column to the matrix whose elements are the summation of each rows. Then add a row to the matrix who...

14 días hace

Resuelto


An array is given. Find the unique elements of the array. [keep the sequence unchanged]
An array is given. Find the unique elements of the array. [keep the sequence unchanged] For example if input x=[2 ,4 , 9 ,2 ,...

16 días hace

Resuelto


An array is given that contains the marks received by a group of students in their class test. Find out the highest 3 marks received by the students?
An array is given that contains the marks received by a group of students in their class test. Find out the highest 3 marks rec...

16 días hace

Resuelto


Easy Sequences 91: Generalized McCarthy-91 Recursive Function
The McCarthy 91 function is a recursive function, defined by the computer scientist John McCarthy as a test case for formal veri...

16 días hace

Resuelto


Hermite Polynomials
Problem 1304 deals with Hermite polynomial of the physicist's type. In this problem, Return the n-th Hermite polynomial of the ...

16 días hace

Resuelto


Easy Sequences 84: Digits of Powers of 5
OEIS sequence #A008566, deals with the following series: This sequence is the digits of powers of 5 listed si...

18 días hace

Resuelto


Compute the area of the shoemaker’s knife
A shape resembling a shoemaker’s knife is constructed from a semicircle with diameter with two semicircular “bites” of diameter...

18 días hace

Resuelto


Integer vector optimal lossless deduplication
You're given an integer vector A, a Min scalar and a Max scalar. You can assume all elements in A are in [Min,Max] range, and nu...

20 días hace

Resuelto


Repeatitive Summation
Given numeric vectors x, a and b, perform the following operation - a represents a vector of numbers and b represents a vector ...

21 días hace

Resuelto


Find patterns in subprime Fibonacci sequences
Lots of Cody problems involve Fibonacci and Collatz sequences. Fibonacci sequences start with two numbers, and later terms are c...

22 días hace

Resuelto


Easy Sequences 12: 50th Prime
Write a function that outputs the th prime after a given number . For example, the th prime after is . NOTE: If itself is pr...

24 días hace

Resuelto


Leave a thumb-up to pass
Just leave a Like, and a comment if you wish. Then wait, and submit.

24 días hace

Resuelto


Easy Sequences 88: Double Summation of a Combinatorial Function
Given two positive integers and , , we define the function as the sum of the reciprocals of the products of all combinations o...

24 días hace

Resuelto


Compute steady drawdown in a confined aquifer
A well extracting water from a confined aquifer will lower the piezometric head and create a cone of depression. In steady state...

26 días hace

Cargar más