Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...
3 years ago
Solved
Numbers spiral diagonals (Part 1)
Inspired by Project Euler n°28 et 58.
A n x n spiral matrix is obtained by starting with the number 1 and moving to the right...
3 years ago
Solved
Round2 Three Times Fight!
Your function should round the numbers then multyply them by 2 then repeat them three times
3 years ago
Solved
Multiplos 7
Escreva um programa que mostre todos os números entre 5 e 100 que são divisíveis por 7, mas não são múltiplos de 5. Os números o...
3 years ago
Solved
Maior Primo
Dado um valor inteiro N, qual o maior valor primo <= N
MaiorPrimo(5) = 5;
MaiorPrimo(10) = 7;
3 years ago
Solved
Convert a vector into a number
This is a sub problem related to this problem:
<http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...
3 years ago
Solved
Distancia Vetores
Dados dois vetores a = (x1, y1) e b = (x2, y2). Calcule a distância entre os vetores e verifique se estão perto (distancia < 10)...