Community Profile

photo

Benjamin Re


21 total contributions since 2016

Benjamin Re's Badges

  • Commenter
  • Promoter
  • Solver

View details...

Contributions in
View by

Solved


Add 10
Add 10 to x

presque 3 ans ago

Solved


multiply by 8
multiply the input by 8

presque 3 ans ago

Solved


multiply by 2
multiply the input by 2

presque 3 ans ago

Solved


multiply by 3
multiply the input by 3

presque 3 ans ago

Solved


multiply by 4
multiply the input by 4

presque 3 ans ago

Solved


multiply by 5
multiply the input by 5

presque 3 ans ago

Solved


multiply by 6
multiply the input by 6

presque 3 ans ago

Solved


multiply by 7
multiply the input by 7

presque 3 ans ago

Solved


multiply by 9
multiply the input by 9

presque 3 ans ago

Solved


multiply by 10
multiply the input by 10

presque 3 ans ago

Solved


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

presque 3 ans ago

Solved


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

presque 3 ans ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

presque 3 ans ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

presque 3 ans ago

Solved


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

presque 3 ans ago

Solved


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

presque 3 ans ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

presque 3 ans ago

Solved


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

presque 3 ans ago

Solved


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

environ 3 ans ago

Solved


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

environ 3 ans ago

Solved


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

environ 3 ans ago