Professional Interests: Machine Learning/ Math/ Geophysics

All

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

Solved

Matrix convolution

A certain convolution step involves an elementwise multipication between two 3x3 matrices and taking the resulting sum of the el...

4 giorni ago

Solved

Matrix Indexing

Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...

8 giorni ago

Solved

Stacking vectors into a matrix

Given a 4x1 vector a, and a 2x2 matrix b, create a matrix M in which the first 2 rows are each identical to a and the last two r...

18 giorni ago

Solved

Vector creation using colon operator

Create a vector y containing n uniformly spaced values between a and b, with a < b. Use the colon (:) operator.

18 giorni ago

Solved

Vector creation using linspace

Create a vector y containing n uniformly spaced values between a and b, with a < b. Use linspace.

18 giorni ago

Solved

Logarithmically spaced vector creation using logspace

Create a vector y containing n logarithmically spaced values between a and b, with a < b. Use the logspace operator.

18 giorni ago

Solved

Logarithmically spaced vector creation using linspace

Create a vector y containing n logarithmically spaced values between a and b, with a < b. Avoid using logspace and use the linsp...

18 giorni ago

Solved

Right shift an array n times with constant space.

Right shift an array n times with constant space, that is, no extra array can be used. Right shift operation: Last element com...

18 giorni ago

Solved

Find the number of days in a given year

Given a year number (eg. 2000) as input, find how many days are there in the given year.

20 giorni ago

Solved

Count unique orderings of vertices of a polygon

Cody Problem 2671 asks us to determine whether four points can be the corners of a rectangle. The points are not necessarily inp...

28 giorni ago

Solved

Create the flag of Ramumbia

The little known nation of Ramumbia has a very simple flag. It is made up of vertical stripes, Red, Green, Blue, that are equall...

circa un mese ago

Solved

Sum the Infinite Series II

For any x in the range 0 < x and x < 2*pi radians, find the sum of the following infinite series: c = 1 + 1/2*cos(x) + 1/2*3...

circa un mese ago

Solved

Count alternating permutations

In an alternating permutation of numbers 1 to n, the numbers are arranged so that they alternately increase and decrease. For ex...

circa un mese ago