Resuelto


Find the outcast
All pairs have the same difference except for one. Output the index of the latter Example: input =[0 1; 1 0; 2 3; 4 5;] ou...

más de 9 años hace

Resuelto


Super Basic - 3 + true equals ??
Solve the title

más de 9 años hace

Resuelto


Get 1-4-3-4-4
Get the value of the indices in the title and assign it to an array

más de 9 años hace

Resuelto


Sum of Optimus
Get the sum of primes :)

más de 9 años hace

Resuelto


How many Optimus
Get the number of primes given a vector

más de 9 años hace

Resuelto


Sum of the squares of optimus
Get the sum of the squares of primes given limit input x Ex. x = 10, output = 2^2 + 3^2 + 5^2 + 7^2

más de 9 años hace

Resuelto


Square of the sum of optimus
Get the square of the sum of all primes given the limit input x

más de 9 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 x1 = 123444...

más de 9 años hace

Resuelto


Mode of Optimus!!!
Get the mode of primes of input x When you get the output, you'll know what mode Optimus is always using :)

más de 9 años hace

Resuelto


Ceil Me Now
Get the ceiling of the input matrix

más de 9 años hace

Resuelto


Find my daddy long leg (No 's')
Given the ratio of the two legs,and the hypotenuse, find the value of the bigger leg

más de 9 años hace

Resuelto


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

más de 9 años hace

Resuelto


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

más de 9 años hace

Resuelto


Implement zero based indexing (Vectors only)
Given an input vector and position (which is zero based) output the value Example: x = [1 2 4 5] pos = 2 value = 4

más de 9 años hace

Resuelto


Implement zero-based indexing for Matrices
Given an input vector and position (which is zero based) output the value Example: x = [1 2; 4 5] pos = [0 1] value = 5 ...

más de 9 años hace

Resuelto


Triplicate me
Given an input vector, output a 3n vector with all elements of input vector repeated thrice Example : in->[1 2 3 5] out...

más de 9 años hace

Resuelto


Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...

más de 9 años hace

Resuelto


Create tangent function out of sine function only
Please don't use cosine and tangent functions

más de 9 años hace

Resuelto


Create tangent function out of cosine only
Please don't use tangent and sine functions

más de 9 años hace

Resuelto


Create tangent function out of sin and cos
Please don't use tan(x) directly

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


Clipper Function
Create a function that emulates a clipper circuit Given sin wave, t and the constant value for clipping, and the direction to re...

más de 9 años hace

Resuelto


Clamper Function
Create a function that emulates a clamper circuit Given sin wave, t and the constant value for clamping

más de 9 años hace

Resuelto


Full Wave rectifier
Create a function that emulates a full wave rectifier. Use a sine wave

más de 9 años hace

Resuelto


Refresh your system of equations
Given square matrix, and solution vector, find the values of the variables Example: xyz = [1 -1 2; 0 2 5; 4 0 -3]; //x-y+2...

más de 9 años hace

Resuelto


Calculate 3D Distance
Given 2 vectors (1st is initial position, 2nd is the destination) calculate the distance in 3D Example in1 = [0 0 0] in2...

más de 9 años hace

Resuelto


Duplicate me
Repeat elements of vector input twice Ex: input = [1 2 3] output = [1 1 2 2 3 3]

más de 9 años hace

Resuelto


N-plicate me
Modified version of duplicate and triplicate me. Repeat elements of input vector with given input n Ex: input = [1 2 3 4 5...

más de 9 años hace

Resuelto


Half wave rectifier
Create a function that emulates a half wave rectifier. Use a sine wave

más de 9 años hace

Cargar más