Community Profile

# Joni Quintos

62 total contributions since 2016

View details...

Contributions in
View by

Solved

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...

plus de 3 ans ago

Solved

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...

plus de 3 ans ago

Solved

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;...

plus de 3 ans ago

Solved

This is just like your weight :)
Imagine your weight as a sawtooth wave appended with a slope It varies yet the trend is increasing :) Decode the values throug...

plus de 3 ans ago

Solved

Exponential Growth and Decay
Calculus time!! Find dx/dy or (k) Given y(0), y(t) and t

plus de 3 ans ago

Solved

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...

plus de 3 ans ago

Solved

Annoying population
Every year the number of annoying persons in the office triples Found the population, given a(0) and t

plus de 3 ans ago

Solved

While I am not equal
Iterate by z(input) until not equal to baseline. Output will be equal to number of iterations x = -5 y = 8 z = 3 output = 5

plus de 3 ans ago

Solved

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

plus de 3 ans ago

Solved

Given x, and y From 1 to x, add every y interval

plus de 3 ans ago

Solved

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...

plus de 3 ans ago

Solved

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

plus de 3 ans ago

Solved

Bae Slap Counter LOL XD
How many times did your bae had slapped you? Create a formula counts how many times you are slapped

plus de 3 ans ago

Solved

Transpose Matrix Without Using Built-in Matlab Function
Transpose Matrix Without Using Built-in Matlab Function Example a = [1;2;3] out = [1 2 3]

plus de 3 ans ago

Solved

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

plus de 3 ans ago

Solved

Given X and Y, Get the Displacement Travelled
Given startX, start Y, endX and endY Get the displacement travelled %x = [startX endX] %y = [startY endY] x = [0 3]; y = [0...

plus de 3 ans ago

Solved

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

plus de 3 ans ago

Solved

Move if I am Optimus Prime
If the number is a prime, roll out!

plus de 3 ans ago

Solved

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

plus de 3 ans ago

Solved

Recursion at variable input
input of any length a =2 b =2 c =3 output = (a^b)^c = 64

plus de 3 ans ago

Solved

Primes Checker
Given variable inputs Check if they are prime numbers

plus de 3 ans ago

Solved

Combine the digits to output numbers
input could be of any length e.g. 1. in1 = 1 in2 = 2 output = 12 2. in1 = 2 in2 = 1 in3 = 0 output = 210

plus de 3 ans ago

Solved

Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

plus de 3 ans ago

Solved

Convert decimal to binary and then generate the minimum binary it can with jumbling
input is 10 --> 1010 output should be 3 --> 0011 input 23 --> 10111 output should be 15 --> 01111

plus de 3 ans ago

Solved

Some tweaks in summation, Can you decode? :)
There are some tweaks in summation that you might observe via test suites Try if you can

plus de 3 ans ago

Solved

BaeIsAlwaysRight
Output yes whatever bae says

plus de 3 ans ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

plus de 3 ans ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

plus de 3 ans ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

plus de 3 ans ago

Solved

Beat the test suite if you can :)
Test Suites are laid there for clues

plus de 3 ans ago