A résolu


Generate vector according to sign of vector
Generate vector according to sign of vector Example: If A=[-2 0 5] then output must be[-1 0 1] meaning that for negative n...

plus de 3 ans il y a

A résolu


Create an array from 1 to x in steps of 1.

plus de 3 ans il y a

A résolu


Compute the arithmetic derivative of integers

plus de 3 ans il y a

A résolu


Find the sum

plus de 3 ans il y a

A résolu


Magic!
Check whether the input matrix is a normal magic square: <http://en.wikipedia.org/wiki/Magic_square> Output the logical va...

plus de 3 ans il y a

A résolu


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

plus de 3 ans il y a

A résolu


Woodall number
Test whether the input is a Woodall number: <http://en.wikipedia.org/wiki/Woodall_number> _Please do not cheat by simply chec...

plus de 3 ans il y a

A résolu


Are you in or are you out?
Given vertices specified by the vectors xv and yv, and a single point specified by the numbers X and Y, return "true" if the poi...

plus de 3 ans il y a

A résolu


Sum My Indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...

plus de 3 ans il y a

A résolu


Wilf-Zeilberger pairs
Take as inputs two functions _F_ and _G_, and two scalar values _n_ and _k_. Test whether the functions are candidates to be a W...

plus de 3 ans il y a

A résolu


Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

plus de 3 ans il y a

A résolu


Parasitic numbers
Test whether the first input x is an n-parasitic number: <http://en.wikipedia.org/wiki/Parasitic_number>. ( _n_ is the second in...

plus de 3 ans il y a

A résolu


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

plus de 3 ans il y a

A résolu


Tune your guitar
Given an input string with the scientific pitch notation for standard tuning ( <http://en.wikipedia.org/wiki/Guitar_tunings#Stan...

plus de 3 ans il y a

A résolu


Figurate number triangle
Check whether the input matrix is a figurate number triangle: <http://mathworld.wolfram.com/FigurateNumberTriangle.html>

plus de 3 ans il y a

A résolu


Cull vector elements that contain a specified digit
Given inputs of (1) a row vector and (2) a digit, identify the elements of that vector that contain the digit, remove them, and ...

plus de 3 ans il y a

A résolu


Vector of numbers divisible by 3
* Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...

plus de 3 ans il y a

A résolu


Number of odd and even elements within matrix
Input(m) - any matrix with integers Output(n) - n(1)=number of odd elements, n(2)=number of even elements Example: * m=...

plus de 3 ans il y a

A résolu


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

plus de 3 ans il y a

A résolu


Find Logic 26

plus de 3 ans il y a

A résolu


Find Logic 27

plus de 3 ans il y a

A résolu


Find Logic 21

plus de 3 ans il y a

A résolu


Find Logic 24

plus de 3 ans il y a

A résolu


Find Logic 29

plus de 3 ans il y a

A résolu


Find Logic 23

plus de 3 ans il y a

A résolu


Find Logic 30

plus de 3 ans il y a

A résolu


Find Logic 22

plus de 3 ans il y a

A résolu


Find Logic 32

plus de 3 ans il y a

A résolu


Find Logic 5

plus de 3 ans il y a

A résolu


Add 2 Vectors

plus de 3 ans il y a

Charger plus