문제를 풀었습니다


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

11개월 전

문제를 풀었습니다


Inner product of two vectors
Find the inner product of two vectors.

11개월 전

문제를 풀었습니다


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

11개월 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

4년 초과 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

4년 초과 전

문제를 풀었습니다


Find the max element of the array
Find the max element of the array

4년 초과 전

문제를 풀었습니다


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

4년 초과 전

문제를 풀었습니다


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

4년 초과 전

문제를 풀었습니다


to the 2 all elements
to the 2 all elements

4년 초과 전

문제를 풀었습니다


the average value of the elements
Calculate the average value of the elements in the array

4년 초과 전

문제를 풀었습니다


Double all elements in the array
Duplicate all elements in the array

4년 초과 전

문제를 풀었습니다


calculate the length of matrix
input 1 array, calculate the length

4년 초과 전

문제를 풀었습니다


Draw a '0' in a one matrix!

4년 초과 전

문제를 풀었습니다


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

4년 초과 전

문제를 풀었습니다


Add two numbers
Add two numbers (For beginners)

4년 초과 전

문제를 풀었습니다


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

4년 초과 전