Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


Converts numbers into characters
Converts numbers into characters

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


to the 2 all elements
to the 2 all elements

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


Draw a '0' in a one matrix!

alrededor de 3 años hace

Resuelto


Draw a '4' in a zero matrix!

alrededor de 3 años hace

Resuelto


Draw a '6' in a zero matrix!

alrededor de 3 años hace

Resuelto


Draw a '9' in a zero matrix!

alrededor de 3 años hace

Resuelto


Draw a '7' in a zero matrix!

alrededor de 3 años hace

Resuelto


Draw a '8' in a zero matrix!

alrededor de 3 años hace

Resuelto


Draw a '3' in a zero matrix!

alrededor de 3 años hace

Resuelto


Draw a '2' in a zero matrix!

alrededor de 3 años hace

Resuelto


Draw a '5' in a zero matrix!

alrededor de 3 años hace

Resuelto


Draw a '1' in a zero matrix!

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Cargar más