문제를 풀었습니다


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

2년 초과 전

문제를 풀었습니다


Find sum of negative elements in row.
Find sum of negative elements in row. Example x=[1 -5 3 4 -6 6 7 8 9 10] result = -11

2년 초과 전

문제를 풀었습니다


Sum multiples

2년 초과 전

문제를 풀었습니다


Get the side length by using the law of cosines.

2년 초과 전

문제를 풀었습니다


Find the second biggist number in a vector or a matrix

2년 초과 전

문제를 풀었습니다


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

2년 초과 전

문제를 풀었습니다


NaN

2년 초과 전

문제를 풀었습니다


0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

2년 초과 전

문제를 풀었습니다


Seperate 2nd column in a matrix

2년 초과 전

문제를 풀었습니다


Half the length of the vector

2년 초과 전

문제를 풀었습니다


Double the length of the vector

2년 초과 전

문제를 풀었습니다


Product of elements in a column

2년 초과 전

문제를 풀었습니다


find the index of a number

2년 초과 전

문제를 풀었습니다


non-repitition of numbers in a vector

2년 초과 전

문제를 풀었습니다


Summation of integers

2년 초과 전

문제를 풀었습니다


Count consecutive 0's in between values of 1
So you have some vector that contains 1's and 0's, and the goal is to return a vector that gives the number of 0's between each ...

2년 초과 전

문제를 풀었습니다


Insert certain elements into a vector.
We start with vector V. Some values W will be inserted into V, at positions U. Say, |V| contains |[1 2 3 4 5]| and |W| is |[0...

2년 초과 전

문제를 풀었습니다


Sort (high on middle, low on ends)
Sort the vector of numbers in order low-high-low. Even numbers appear in ascending order on the left and odd numbers appear in d...

2년 초과 전

문제를 풀었습니다


Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

2년 초과 전

문제를 풀었습니다


Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.

2년 초과 전

문제를 풀었습니다


Your favourite city!
Type your favourite city.

2년 초과 전

문제를 풀었습니다


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

2년 초과 전

문제를 풀었습니다


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

2년 초과 전

문제를 풀었습니다


Find a subset that divides the vector into equal halves
Given a vector x, return the indices to elements that will sum to exactly half of the sum of all elements. Example: Inpu...

2년 초과 전

문제를 풀었습니다


Remove DC
Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component. Examp...

2년 초과 전

문제를 풀었습니다


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

2년 초과 전

문제를 풀었습니다


square root
Find the square root (y) of an input (x).

2년 초과 전

문제를 풀었습니다


matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

2년 초과 전

문제를 풀었습니다


Sum all integers from 1 to 2^x
Given a number x, your function must return the summation of all integers from 1 to 2^x.

2년 초과 전

문제를 풀었습니다


Sum of digit range
Example: If A is n1, and B is n2 digit positive numbers. A*B's digit range will be [c d] (c = min & d = max). Then return ...

2년 초과 전

더 보기