문제를 풀었습니다


Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

7개월 전

문제를 풀었습니다


Convert Kilometers to Miles
Convert kilometers to miles. Consider 1 km = 0.62 mile. Note: Don't use the '*' operator.

7개월 전

문제를 풀었습니다


Find x rows where the sum of the numbers is the maximum
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is 2 3 5 0 2 3 5 5 6 0 9 4 then y =...

7개월 전

문제를 풀었습니다


Draw a '5' in a zero matrix!

7개월 전

문제를 풀었습니다


Draw a '4' in a zero matrix!

7개월 전

문제를 풀었습니다


Draw a '6' in a zero matrix!

7개월 전

문제를 풀었습니다


Draw a '9' in a zero matrix!

7개월 전

문제를 풀었습니다


Draw a '7' in a zero matrix!

7개월 전

문제를 풀었습니다


Draw a '8' in a zero matrix!

7개월 전

문제를 풀었습니다


Draw a '3' in a zero matrix!

7개월 전

문제를 풀었습니다


Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

7개월 전

문제를 풀었습니다


remove every row&col for every nan
for a given matrix, remove the row and column of every nan. Example x=[1 2 NaN 4 5 6 7 8 ...

7개월 전

문제를 풀었습니다


Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...

7개월 전

문제를 풀었습니다


Column Removal (★★★)
(copy of prob 7) Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2...

7개월 전

문제를 풀었습니다


Remove all the columns contains only zero
Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...

7개월 전

문제를 풀었습니다


row removal
Consider a matrix and remove the first row of the matrix.

7개월 전

문제를 풀었습니다


Remove a specific column with min value
Remove the column that contain the min value in the matrix? If you like the problem, please give it a like:)

7개월 전

문제를 풀었습니다


Remove a specific column with max value
Remove the column that contain the max value in the matrix? If you like the problem, please give it a like:)

7개월 전

문제를 풀었습니다


Remove a specific row with min value
Remove the row that contain the min value in the matrix? If you like the problem, please give it a like:)

7개월 전

문제를 풀었습니다


Remove a specific row with max value
Remove the row that contain the max value in the matrix? If you like the problem, please like it :)

7개월 전

문제를 풀었습니다


Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


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.

1년 초과 전

문제를 풀었습니다


Angle of triangle
For three unknown points a b c, given three sides ab bc ca, find three angles abc bca cab in radians. Your function should be a...

1년 초과 전

문제를 풀었습니다


Area of a triangle given its sides

1년 초과 전

문제를 풀었습니다


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

1년 초과 전

문제를 풀었습니다


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

1년 초과 전

문제를 풀었습니다


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end),...

1년 초과 전

문제를 풀었습니다


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

1년 초과 전

더 보기