Resuelto


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

alrededor de 10 años hace

Resuelto


Rotate array 90 degrees
Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

alrededor de 10 años hace

Resuelto


Calculate representive values (max. min. std)
A B C -------------------------- t=1 2.2 2.6 2.4 t=2 2.4 2.8 2.2 t=3 2.6 2.7 2....

alrededor de 10 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...

alrededor de 10 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...

alrededor de 10 años hace

Resuelto


Calculate BMI
BMI = (weight_in_lbs * 703) / (height_in_inches^2) Inputs are in kg and cm

alrededor de 10 años hace

Resuelto


Max Sum That You Can Get Of 2 Numbers given variable input
Given variable input length,combine 2 numbers from and output maximum sum the combinations can generate Example x = 3; y = 5;...

alrededor de 10 años hace

Resuelto


Multiply all elements of vector but not me
me = 1 Just a freebie Good luck :)

alrededor de 10 años hace

Resuelto


Check that given number is 3*n
Check that input of multiple of three (3*n). if given number is included in 3*n, print true. (hint: use mod)

alrededor de 10 años hace

Resuelto


Primes Checker
Given variable inputs Check if they are prime numbers

alrededor de 10 años hace

Resuelto


Sum of Optimus
Get the sum of primes :)

alrededor de 10 años hace

Resuelto


How many Optimus
Get the number of primes given a vector

alrededor de 10 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...

alrededor de 10 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 :)

alrededor de 10 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

alrededor de 10 años hace

Resuelto


Replace x value into y value in string text.
Replace x value into y value in string text. Example text='Hello World' x='World', y='Universe' result='Hello Universe'.

alrededor de 10 años hace

Resuelto


Non trivial identities - transpose
Return x by transposing it.

alrededor de 10 años hace

Resuelto


ADD TWO NUMBERS
To add two numbers a and b, then store in y

alrededor de 10 años hace

Resuelto


Make roundn function
Make roundn function. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) y=0.56 ...

alrededor de 10 años hace

Resuelto


Weighted moving average
x1=[1 2 1]; y1=[1 2 2 4 5 6 6 8]; Make function for weighted moving average. z(i)=(x1(i)*y1(i)+x1(i+1)*y1(i+1)+x1(i+2)*y1...

alrededor de 10 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

alrededor de 10 años hace

Resuelto


Money money money
There's a group of men called 5/6. It's like when you borrow $5, you need to pay him $6 Try to code, 5/6 people haha

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Creating a code via test suite :)
Given the test suites, create a code that would fit them :) *Clue: Pascal's Triangle

alrededor de 10 años hace

Resuelto


Upper Matrix Mock
Given a vector v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 0 1 3 6 9; 0 0 1 3 6; 0 0 0 1...

alrededor de 10 años hace

Resuelto


BaeIsAlwaysRight
Output yes whatever bae says

alrededor de 10 años hace

Resuelto


Strangest ways to get 0
Propose your non-trivial way to get 0. Look mine's, and try to do your best!

alrededor de 10 años hace

Resuelto


Convert Miles To Kilometers
Given input in miles, output into kilometers

alrededor de 10 años hace

Cargar más