Resuelto


Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

más de 3 años hace

Resuelto


Count letters occurence in text, specific to words with a given length.
Build a function with two input arguments: a string and a word length (number of letters), that outputs a vector of counts of th...

más de 3 años hace

Resuelto


Word Distance - Sum
Let's suppose that the distance of a word can be calculated by summing the differences between its letters, having assigned the ...

más de 3 años hace

Resuelto


Find Logic 19

más de 3 años hace

Resuelto


Find Logic 18

más de 3 años hace

Resuelto


Find Logic 17

más de 3 años hace

Resuelto


Find Logic 16

más de 3 años hace

Resuelto


Find Logic 14

más de 3 años hace

Resuelto


Find Logic 15

más de 3 años hace

Resuelto


Find Logic 13

más de 3 años hace

Resuelto


Find Logic 12

más de 3 años hace

Resuelto


Find Logic 11

más de 3 años hace

Resuelto


Find Logic 10

más de 3 años hace

Resuelto


Find Logic 9

más de 3 años hace

Resuelto


Find Logic 8

más de 3 años hace

Resuelto


Find Logic 7

más de 3 años hace

Resuelto


Find Logic 6

más de 3 años hace

Resuelto


Find Logic 4

más de 3 años hace

Resuelto


Find Logic 3

más de 3 años hace

Resuelto


Find Logic 1

más de 3 años hace

Resuelto


Draw a 'X'!
Given n as input Draw a 'X' in a n-by-n matrix. example: n=3 y=[1 0 1 0 1 0 1 0 1] n=4 y=[1 0 0...

más de 3 años hace

Resuelto


Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

más de 3 años hace

Resuelto


~~~~~~~ WAVE ~~~~~~~~~
|The WAVE generator| Once upon a time there was a river. 'Sum' was passing by the river. He saw the water of the river that w...

más de 3 años hace

Resuelto


Decimation - Optimized for speed
This problem is similar to http://www.mathworks.com/matlabcentral/cody/problems/1092-decimation, only this time the score will b...

más de 3 años hace

Resuelto


Decimation
When dealing to the Roman Army, the term decimate meant that the entire unit would be broken up into groups of ten soldiers, and...

más de 3 años hace

Resuelto


Finding peaks
Find the peak values in the signal. The peak value is defined as the local maxima. For example, x= [1 12 3 2 7 0 3 1 19 7]; ...

más de 3 años hace

Resuelto


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

más de 3 años hace

Resuelto


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

más de 3 años hace

Resuelto


Numbers spiral diagonals (Part 2)
Inspired by Project Euler n°28 and 58. A n x n spiral matrix is obtained by starting with the number 1 and moving to the righ...

más de 3 años hace

Resuelto


Circular Primes (based on Project Euler, problem 35)
The number, 197, is called a circular prime because all rotations of the digits: 197, 971, and 719, are themselves prime. The...

más de 3 años hace

Cargar más