Community Profile

# Em Bass

58 total contributions since 2016

View details...

Contributions in
View by

Solved

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

plus de 3 ans ago

Solved

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

plus de 3 ans ago

Solved

Clamper Function
Create a function that emulates a clamper circuit Given sin wave, t and the constant value for clamping

plus de 3 ans ago

Solved

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

plus de 3 ans ago

Solved

Create cosine function out of sine

plus de 3 ans ago

Solved

Create sine function out of cosine

plus de 3 ans ago

Solved

Create tangent function out of sin and cos

plus de 3 ans ago

Solved

Create tangent function out of cosine only
Please don't use tangent and sine functions

plus de 3 ans ago

Solved

Create tangent function out of sine function only
Please don't use cosine and tangent functions

plus de 3 ans ago

Solved

Given input in degrees, output to radians

plus de 3 ans ago

Solved

Given input in radians, output to degrees

plus de 3 ans ago

Solved

Encode Me From The Past
Given this input x = 2, 5, 1, 2, 4, 1, 1, 3 output should be (Five 2's, Two 1's, One 4, Three 1's) [2 2 2 2 2 1 1 4 1 1 1]

plus de 3 ans ago

Solved

Create a code for XNOR
Given two inputs, output XNOR of those two

plus de 3 ans ago

Solved

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

plus de 3 ans ago

Solved

Find the outcast
All pairs have the same difference except for one. Output the index of the latter Example: input =[0 1; 1 0; 2 3; 4 5;] ou...

plus de 3 ans ago

Solved

Determine Size of Matrix
Use any function that would output size of matrix

plus de 3 ans ago

Solved

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

plus de 3 ans ago

Solved

Get 1-4-3-4-4
Get the value of the indices in the title and assign it to an array

plus de 3 ans ago

Solved

Sum of Optimus
Get the sum of primes :)

plus de 3 ans ago

Solved

How many Optimus
Get the number of primes given a vector

plus de 3 ans ago

Solved

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

plus de 3 ans ago

Solved

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

plus de 3 ans ago

Solved

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

plus de 3 ans ago

Solved

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

plus de 3 ans ago

Solved

Ceil Me Now
Get the ceiling of the input matrix

plus de 3 ans ago

Solved

Find my daddy long leg (No 's')
Given the ratio of the two legs,and the hypotenuse, find the value of the bigger leg

plus de 3 ans ago

Solved

Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

plus de 3 ans ago

Solved

Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

plus de 3 ans ago

Solved

Implement zero based indexing (Vectors only)
Given an input vector and position (which is zero based) output the value Example: x = [1 2 4 5] pos = 2 value = 4

plus de 3 ans ago

Solved

Implement zero-based indexing for Matrices
Given an input vector and position (which is zero based) output the value Example: x = [1 2; 4 5] pos = [0 1] value = 5 ...

plus de 3 ans ago