Community Profile

photo

Pedro Aberga


Last seen: más de 3 años hace Con actividad desde 2020

Followers: 0   Following: 0

Estadísticas

  • Solver

Ver insignias

Feeds

Ver por

Resuelto


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

más de 3 años hace

Resuelto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

más de 3 años hace

Resuelto


Add two numbers
Given a and b, return the sum a+b in c.

más de 3 años hace

Resuelto


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

alrededor de 4 años hace

Resuelto


Beat the test suite if you can :)
Solve this problem based on clues in the test suite.

alrededor de 4 años hace

Resuelto


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

alrededor de 4 años hace

Resuelto


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

alrededor de 4 años hace

Resuelto


Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...

alrededor de 4 años hace

Resuelto


Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

alrededor de 4 años hace

Resuelto


Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...

alrededor de 4 años hace

Resuelto


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

alrededor de 4 años hace

Resuelto


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

alrededor de 4 años hace

Resuelto


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

alrededor de 4 años hace

Resuelto


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

alrededor de 4 años hace