Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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]

más de 9 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;...

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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;

más de 9 años hace

Resuelto


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'

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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?

más de 9 años hace

Resuelto


reversed alphabet
create the alphabet in reverse

más de 9 años hace

Resuelto


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

más de 9 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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

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

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


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Cargar más