Solved


Legendre polynomials
Given an integer _n_ &ge; 0, generate the _n_-th <http://en.wikipedia.org/wiki/Legendre_polynomials Legendre polynomial>. *Ex...

ungefär 3 år ago

Solved


Laguerre polynomials
Given an integer _n_ &ge; 0, generate the _n_-th <http://en.wikipedia.org/wiki/Laguerre_polynomials Laguerre polynomial>. *Ex...

ungefär 3 år ago

Solved


Hermite Polynomials
Return the _n_-th <http://en.wikipedia.org/wiki/Hermite_polynomials Hermite polynomial> of the physicists' type. Assume that ...

ungefär 3 år ago

Solved


Diophantine Equations (Inspired by Project Euler, problem 66)
Consider the quadratic Diophantine equation of the form: x^2 – Dy^2 = 1 When D=13, the minimal solution in x is 649^2 – 13...

ungefär 3 år ago

Solved


Ackermann's Function
Ackermann's Function is a recursive function that is not 'primitive recursive.' <http://en.wikipedia.org/wiki/Ackermann_fun...

ungefär 3 år ago

Solved


Rosenbrock's Banana Function and its derivatives
Write a function to return the value of <http://en.wikipedia.org/wiki/Rosenbrock_function Rosenbrock's two-dimensional banana fu...

ungefär 3 år ago

Solved


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

ungefär 3 år ago

Solved


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

ungefär 3 år ago

Solved


Converts numbers into characters
Converts numbers into characters

ungefär 3 år ago

Solved


Find the max element of the array
Find the max element of the array

ungefär 3 år ago

Solved


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

ungefär 3 år ago

Solved


to the 2 all elements
to the 2 all elements

ungefär 3 år ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

ungefär 3 år ago

Solved


Double all elements in the array
Duplicate all elements in the array

ungefär 3 år ago

Solved


calculate the length of matrix
input 1 array, calculate the length

ungefär 3 år ago

Solved


Draw a '0' in a one matrix!

ungefär 3 år ago

Solved


Draw a '4' in a zero matrix!

ungefär 3 år ago

Solved


Draw a '6' in a zero matrix!

ungefär 3 år ago

Solved


Draw a '9' in a zero matrix!

ungefär 3 år ago

Solved


Draw a '7' in a zero matrix!

ungefär 3 år ago

Solved


Draw a '8' in a zero matrix!

ungefär 3 år ago

Solved


Draw a '3' in a zero matrix!

ungefär 3 år ago

Solved


Draw a '2' in a zero matrix!

ungefär 3 år ago

Solved


Draw a '5' in a zero matrix!

ungefär 3 år ago

Solved


Draw a '1' in a zero matrix!

ungefär 3 år ago

Solved


Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ . Example: n=5 ans= [1 1 1 1 1 0 0 0 1 ...

ungefär 3 år ago

Solved


Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

ungefär 3 år ago

Solved


Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1. example: n=3 ans= [0 1 0 0 1 0 0 1 0] n=...

ungefär 3 år ago

Solved


Draw 'F'
Draw a x-by-x matrix 'F' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

ungefär 3 år ago

Load more