Solved


Non trivial identities - linear system
Return x by solving a linear system.

9 years ago

Solved


Non trivial identities - colon
Return x after treating it with colon.

9 years 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]

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

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Solved


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

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

9 years ago

Solved


Back to Basics
Dot product of vectors. Given two vectors A and B, calculate their dot product. A=[1 2 3]; B=[3 2 1]; C=10;

9 years ago

Solved


String revert
Revert all words in a sting x for example, if x = 'this is a sentence' then y should be 'sentence a is this'

9 years ago

Solved


X plus binary inverted x
Given a n-bits number x, what is the sum of x to the binary inverted version of x? (this might be more simple than you think :-)...

9 years ago

Solved


Magnitude of a vector
Given a vector x, what is its magnitude?

9 years ago

Solved


Non trivial identities - identity handle
Return x by handling the identity function.

9 years ago

Solved


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

9 years ago

Solved


Add the odd numbers
Add only the odd numbers of x example: x = [1 2 3 4 5] the positive numbers are: 1 3 5, so their sum is 9

9 years ago

Solved


Counting votes
x is a vector of votes, e.g. x=[1 2 3 2 2 1 3 2 1 2 2 2 2], who is the winner? 1,2,3?

9 years ago

Solved


reversed alphabet
create the alphabet in reverse

9 years ago

Solved


sum of ASCII
Given a string x, return the sum of all ASCII numbers of all characters. for example, if x='lala' ('l'-> 108, 'a'->97) then y...

9 years 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

9 years ago

Solved


Second smallest number
What is the second smallest number in x? example: x = [1 2 3 4 5 6 7 8 9] y = 2

9 years ago

Solved


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

9 years ago

Solved


99 bottels of beer...
(don't know the song? -> <https://en.wikipedia.org/wiki/99_Bottles_of_Beer>) Create the count down vector in y

9 years ago

Solved


Probabilities - Balls and urns - 01
The urn contains B blue balls and R red balls. Each trial consists of drawing one random ball from the urn and observing its col...

9 years ago

Solved


Make equation that can express relationship!
Observed data [y] that vary with [x]. Unfortunately, [y] including small amount of errors. x=[1 2 3 4 5 6] y=[2.16 4.97 ...

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Solved


how to find absolute value of a given number?
how to find absolute value of a given number?

9 years ago

Solved


how to find eigen values of given matrix?
how to find eigen values of given matrix?

9 years ago

Solved


find number of buses for given to and from lines
find number of buses for given to and from lines

9 years ago

Load more