Resuelto


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

más de 3 años hace

Resuelto


Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

más de 3 años hace

Resuelto


String Delimination and Outputting
In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the space...

más de 3 años hace

Resuelto


Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

más de 3 años hace

Resuelto


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

más de 3 años hace

Resuelto


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

más de 3 años hace

Resuelto


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

más de 3 años hace

Resuelto


Sum two matrices
Take two incoming matrices, and sum them

más de 3 años hace

Resuelto


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

más de 3 años hace

Resuelto


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

más de 3 años hace

Resuelto


Automatic String Editing
In this function, you will take an incoming string, and output the same string with each character one letter later in the alpha...

más de 3 años hace

Resuelto


Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

más de 3 años hace

Resuelto


More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

más de 3 años hace

Resuelto


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

más de 3 años hace

Resuelto


Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

más de 3 años hace

Resuelto


Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

más de 3 años hace

Resuelto


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

más de 3 años hace

Resuelto


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

más de 3 años hace

Resuelto


Matrix Max Finder
Output the maximum value in a matrix

más de 3 años hace

Resuelto


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

más de 3 años hace

Resuelto


Is It a Palindrome?
Given a string or array, determine if it is a palindrome.

más de 3 años hace

Resuelto


Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...

más de 3 años hace

Resuelto


Where is she?
Given the numbers 12, 3, 6, 9 Tell where the girl is located. That is: Look to your 3 o'clock = look right Example ...

más de 3 años hace

Resuelto


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

más de 3 años hace

Resuelto


Remove the Zero
Given an array n, remove all zeros

más de 3 años hace

Resuelto


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

más de 3 años hace

Resuelto


Remove and Sort
Given a randomized array n, sort it and remove all odd integers. n=5 y = [2 4]

más de 3 años hace

Resuelto


Product of Array
Given an array of numbers. Get the product of the array.

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


Vectorize the digits of an Integer
Create a vector of length N for an integer of N digits. x = 123045; x_vec = [1 2 3 0 4 5]; I happened upon a trick ...

más de 3 años hace

Cargar más