Bae Slap Counter LOL XD
How many times did your bae had slapped you? Create a formula counts how many times you are slapped
9年以上 前
解決済み
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年以上 前
解決済み
Annoying population
Every year the number of annoying persons in the office triples
Found the population, given a(0) and t
Half wave rectifier
Create a function that emulates a half wave rectifier. Use a sine wave
9年以上 前
解決済み
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...
9年以上 前
解決済み
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...
9年以上 前
解決済み
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...
9年以上 前
解決済み
Full Wave rectifier
Create a function that emulates a full wave rectifier.
Use a sine wave
9年以上 前
解決済み
Clamper Function
Create a function that emulates a clamper circuit
Given sin wave, t and the constant value for clamping
9年以上 前
解決済み
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...
Modified run-length companion vector
Given a vector x, return a vector that indicates the run length of any value in x. Each element in output vector shows how many ...