Community Profile

# Community Sherlock-

### ab

Last seen: 14日 前 2019 以来アクティブ

バッジを表示

#### Content Feed

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

2年弱 前

Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

2年弱 前

Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

2年弱 前

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]

2年弱 前

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

2年弱 前

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

2年弱 前

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

2年弱 前

Times 3 problem
When you enter the number, it should return the number multiplied by 3

2年弱 前

square number
Square a number

2年弱 前

Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

2年弱 前

Square a Number
Given an input x, return y, which is equal to the square of x.

2年弱 前

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

2年弱 前

multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

2年弱 前

Add two numbers
Add two numbers (For beginners)

2年弱 前

Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

2年弱 前

Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

2年弱 前

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

2年弱 前