Problem

Switch matrix to a column vector

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

plus de 7 ans ago | 1 | 244 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...

plus de 7 ans 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...

plus de 7 ans ago

Solved

Calculate the integral of the polynomial

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

plus de 7 ans ago

Problem

Calculate the integral of the polynomial

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

plus de 7 ans ago | 0 | 83 solvers

Solved

generate a matrix of Legendre polynomials

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

plus de 7 ans ago

Problem

generate a matrix of Legendre polynomials

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

plus de 7 ans ago | 2 | 28 solvers

Solved

Is the input divisible by 3?

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

plus de 7 ans ago

Solved

Do Fast Fourier Transformation

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

plus de 7 ans ago

Solved

Volume and area of a sphere

Input(r) - radius Output([v,s]) - volume and area

plus de 7 ans ago

Solved

Calculate the derivative of a polynomial

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

plus de 7 ans ago

Problem

Calculate the derivative of a polynomial

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

plus de 7 ans 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...

plus de 7 ans 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...

plus de 7 ans 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 ...

plus de 7 ans 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...

plus de 7 ans 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...

plus de 7 ans ago