Resuelto


Normalizing a vector

casi 5 años hace

Resuelto


Find the number of days in a given year
Given a year number (eg. 2000) as input, find how many days are there in the given year.

casi 5 años hace

Resuelto


MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

casi 5 años hace

Resuelto


MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

casi 5 años hace

Resuelto


MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

casi 5 años hace

Resuelto


create a function that give us like the following
x=3 y= [1 -1 -1 0 1 -1 0 0 1]; -------------------------------- x=5 y= [ 1 -1 -...

casi 5 años hace

Problema


Peg Solitaire - Apply Move
About Peg Solitaire . Previous Problem. Consider inital board; If we move the peg located on (4,6) to the left (4) directio...

casi 5 años hace | 0 | 8 solvers

Problema


Peg Solitaire - Get Possible Moves
About Peg Solitaire. Consider following initial board; (1) indicates there is a peg and (0) indicates empty holes. For thi...

casi 5 años hace | 1 | 5 solvers

Resuelto


Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...

alrededor de 5 años hace

Resuelto


Right shift an array n times with constant space.
Right shift an array n times with constant space, that is, no extra array can be used. Right shift operation: Last element com...

alrededor de 5 años hace

Resuelto


Vector creation using linspace
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use linspace.

alrededor de 5 años hace

Resuelto


Vector creation using colon operator
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use the colon (:) operator.

alrededor de 5 años hace

Resuelto


Stacking vectors into a matrix
Given a 4x1 vector a, and a 2x2 matrix b, create a matrix M in which the first 2 rows are each identical to a and the last two r...

alrededor de 5 años hace

Resuelto


Matrix convolution
A certain convolution step involves an elementwise multipication between two 3x3 matrices and taking the resulting sum of the el...

alrededor de 5 años hace

Resuelto


Identify Ruth-Aaron numbers
After Hank Aaron hit his 715th home run and passed Babe Ruth’s total of 714, Carl Pomerance noticed that the union of the prime ...

alrededor de 5 años hace

Resuelto


Make the first letter of a sentence Capital.

alrededor de 5 años hace

Resuelto


Write a function to generate AND operation

alrededor de 5 años hace

Resuelto


Number Puzzle - 114

alrededor de 5 años hace

Resuelto


Number Puzzle - 115

alrededor de 5 años hace

Resuelto


Number Puzzle - 116

alrededor de 5 años hace

Resuelto


Number Puzzle - 117

alrededor de 5 años hace

Resuelto


Highest building

alrededor de 5 años hace

Resuelto


Digits Multiplication

alrededor de 5 años hace

Resuelto


End Digits

alrededor de 5 años hace

Resuelto


Min-Max digit

alrededor de 5 años hace

Resuelto


Draw Letter 'L'

alrededor de 5 años hace

Resuelto


convert binary string to vector!!!

alrededor de 5 años hace

Resuelto


Number Puzzle - 044

alrededor de 5 años hace

Cargar más