Problem

Switch matrix to a column vector

for e.g. x = [1 2 3 4] y = 1 3 2 4

7 years ago | 1 | 247 solvers

Solved

Wrapping the Tower of Pisa

The famous artist Christo Vladimirov Javacheff, who likes pizza, wants to wrap the well-known Italian tower in paper. It is a ci...

7 years ago

Solved

Who is the smartest MATLAB programmer?

Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

7 years ago

Problem

Calculate the integral of the polynomial

for e.g. in = [3 2 1] out = [1 1 1 0]

7 years ago | 0 | 83 solvers

Solved

generate a matrix of Legendre polynomials

input = x - the degree of the polynomial output = matrix of Legendre polynomials

7 years ago

Problem

generate a matrix of Legendre polynomials

input = x - the degree of the polynomial output = matrix of Legendre polynomials

7 years ago | 2 | 28 solvers

Solved

Is the input divisible by 3?

Return true if the input is divisible by 3 and false if not.

7 years ago

Solved

Do Fast Fourier Transformation

Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

7 years ago

Problem

Calculate the derivative of a polynomial

Example: in = [ 1 1 1 ] out = [ 2 1 ]

7 years ago | 1 | 162 solvers

Solved

Find the numeric mean of the prime numbers in a matrix.

There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

7 years ago

Solved

Project Euler: Problem 8, Find largest product in a large string of numbers

Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...

7 years ago

Solved

Make a 1 hot vector

Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...

7 years ago

Solved

Project Euler: Problem 5, Smallest multiple

2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smalle...

7 years ago

Solved

Project Euler: Problem 7, Nth prime

By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...

7 years ago