已解决


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

9 months 前

已解决


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

9 months 前

已解决


Draw a '9' in a zero matrix!

9 months 前

已解决


Draw a '8' in a zero matrix!

9 months 前

已解决


Draw a '7' in a zero matrix!

9 months 前

已解决


Draw a '6' in a zero matrix!

9 months 前

已解决


Draw a '5' in a zero matrix!

9 months 前

已解决


Draw a '4' in a zero matrix!

9 months 前

已解决


Draw a '3' in a zero matrix!

9 months 前

已解决


Draw a '2' in a zero matrix!

9 months 前

已解决


Draw a '1' in a zero matrix!

9 months 前

已解决


How Many Months Until It's Today Again?
Given a particular date, calculate how many months must pass before that same day of the month occurs on the same day of the wee...

9 months 前

已解决


Tax Season ! How much is my salary?
Tax Season! I was employed for a period from x until y in a year and I get pay check of amount z on every alternate Friday of th...

9 months 前

已解决


microseconds passed today
Calculate the amount of microseconds passed for a given date string. Return the value, rounded to the nearest integer, as a stri...

9 months 前

已解决


Find number of days
The input is two date in string format (dd-mm-yyyy) find out the number of days between these two dates. Example: input: ...

9 months 前

已解决


Find Month & day for given day number of a year
Find Month & day for given day number of a year (day number is any number ranging from 1 to 366)

9 months 前

已解决


weekday and month
Given a year and a weekday, determine how many months of that year had five of those weekdays. It is kind of easy to find. Exam...

9 months 前

已解决


What day is it?
Tell me what day is it. Return the full name of the day of the week as a string. e.g. It's June 12th 2014, so your function s...

9 months 前

已解决


calculate the day of the year from a date string.
'09-Oct-2016' is the 283rd day of the year. So doy = dayoftheyear('09-Oct-2016') should return doy = 283

9 months 前

已解决


Center of mass
Given a matrix M(m,n), where m is the number of vertices of the geometrical element and n is 2 or 3 (2D-plane figure or 3D-solid...

9 months 前

已解决


center of mass
R is a given matrix with size [n,2]. R(i,:) is interpreted as the 2D-position of a mass point with mass i. Calculate the center ...

9 months 前

已解决


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

9 months 前

已解决


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

9 months 前

已解决


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

9 months 前

已解决


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

9 months 前

已解决


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

9 months 前

已解决


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

9 months 前

已解决


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

9 months 前

已解决


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

9 months 前

已解决


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

9 months 前

加载更多