Resuelto


Simple sum 1

más de 3 años hace

Resuelto


Encode Me From The Past
Given this input x = 2, 5, 1, 2, 4, 1, 1, 3 output should be (Five 2's, Two 1's, One 4, Three 1's) [2 2 2 2 2 1 1 4 1...

más de 3 años hace

Resuelto


Convert degrees to radians
Given input in degrees, output to radians

más de 3 años hace

Resuelto


Primes Checker
Given variable inputs Check if they are prime numbers

más de 3 años hace

Resuelto


Create sine function out of cosine
Please don't use sin(x) directly

más de 3 años hace

Resuelto


Determinant of a 3x3 Matrix
Return the determinant of a 3x3 matrix. The built-in Matlab function det is not allowed.

más de 3 años hace

Resuelto


Create a code for XNOR
Given two inputs, output XNOR of those two

más de 3 años hace

Resuelto


Create cosine function out of sine
Please dont use cos(x) directly

más de 3 años hace

Resuelto


Add Me To Death (Sum sum sum)
Given certain vector, sum of the input vector, get the sum of 2 adjacent numbers in the input, and sum of the output vector (wh...

más de 3 años hace

Resuelto


Count me in
Count the number of occurrences of the second input in the first input Ex. x1 = 12344455511; x2 =2; output = 1 ...

más de 3 años hace

Resuelto


find the index of a number

más de 3 años hace

Resuelto


sign function

más de 3 años hace

Resuelto


step function

más de 3 años hace

Resuelto


Test

más de 3 años hace

Resuelto


Guess Cipher
Guess the formula to transform strings as follows: 'Hello World!' --> 'Ifmmp Xpsme!' 'Can I help you?' --> 'Dbo J ifm...

más de 3 años hace

Resuelto


Calculate the Hamming distance between two strings
Inspired by a similar Cody problem found <http://www.mathworks.com/matlabcentral/cody/problems/93-calculate-the-levenshtein-dist...

más de 3 años hace

Resuelto


Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

más de 3 años hace

Resuelto


Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

más de 3 años hace

Resuelto


Is this is a Tic Tac Toe X Win?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

más de 3 años hace

Resuelto


frame of the matrix
Given the matrix M, return M without the external frame.

más de 3 años hace

Resuelto


Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

más de 3 años hace

Resuelto


Sums of cubes and squares of sums
Given the positive integers 1:n, can you: 1. Compute twice the sum of the cubes of those numbers. 2. Subtract the square...

más de 3 años hace

Resuelto


Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

más de 3 años hace

Resuelto


Box
Give the volume of a box, x is equal to the body diagonal.

más de 3 años hace

Resuelto


Stairs
Make an n by n matrix, where the elements are ones and zeros. In the main diagonal, and under that, there should be only ones (...

más de 3 años hace

Resuelto


Square
X is a number, write a code, where Y should be the square of X.

más de 3 años hace

Resuelto


Matrix problem for beginners
Make a matrix [0,0,0;1,1,1;2,2,2]. X=[0,1,2]

más de 3 años hace

Resuelto


Matrix for beginners
Multiply x and y elemwise.

más de 3 años hace

Resuelto


How many bytes an audio requires from RAM?

más de 3 años hace

Resuelto


Estimate Pi by Monte Carlo method

más de 3 años hace

Cargar más