解決済み


polar inertia
given locations of a set of unit masses on complex plane, find polar moment of inerta about the origin. for example output 4 if ...

5年以上 前

解決済み


How long until the weekend?
Write a function a that takes a date vector as an input and returns the number of hours until the weekend begins. The beginning...

5年以上 前

解決済み


Convert the matrix as -

5年以上 前

解決済み


Flip the matrix as -

5年以上 前

解決済み


solve the system of equation -

5年以上 前

解決済み


Simple problem creating a function from an abstract specification.
MYSTERYFUNCTION3 This takes a vector of numbers v and computes a vector w such the w[i] is the average of v[i] and the previous...

5年以上 前

解決済み


bad colorimeter?
You have tested one good and one bad colorimeters with a colored solution at two path lengths of light and recorded transmittanc...

5年以上 前

問題


Iterate the sum of divisors and totient

5年以上 前 | 3 | 18 個のソルバー

解決済み


Put all numbers in a string inside square brackets
Examples: 'left3down2' -> 'left[3]down[2]' 'fiat500' -> 'fiat[500]'

5年以上 前

解決済み


substract the two numbers

5年以上 前

解決済み


Return exactly the same input

5年以上 前

解決済み


Multiply by 3

5年以上 前

解決済み


Add two numbers

5年以上 前

解決済み


Sqaure of a number

5年以上 前

解決済み


Inscribed circle in a triangle
A circle of radius r is inscribed in a triangle. In the figure, Ac=x and Bc=y. values of x & y are given. Find the ar...

5年以上 前

解決済み


Squares of odd numbers upto a given range
Find the squares of odd numbers upto a given range. If Given x=6 return y=(1^2,3^2,5^2) y=1,9,25 If Given x=5 retu...

5年以上 前

解決済み


Days until next NewYear ball drop
Given a date string in the form 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss', calculate the number of *days* until the dropping of the ...

5年以上 前

解決済み


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

5年以上 前

解決済み


Convert any case sentence to Title Case

5年以上 前

解決済み


Create a Cell array of month-end date strings within a date range
This is a variation of <http://www.mathworks.com/matlabcentral/cody/problems/1039-get-an-array-of-month-ends-in-a-date-range Get...

5年以上 前

解決済み


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

5年以上 前

解決済み


birthday on same day of week
Say, Mr. X's birthday is on 20th July, 2014. It was Sunday. Determine the closest year when his birthday will again be on Sunday...

5年以上 前

解決済み


Find my birthday
Given a birth date x, find my age when my birth day will fall on the same day as I was born. So if I was born on Monday, what a...

5年以上 前

解決済み


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

5年以上 前

解決済み


Get an array of month-ends in a date range
Create a function that would return a list of month-ends falling in a given date range. If a start date or end date falls on a...

5年以上 前

解決済み


Wheat on a chessboard pt 2
If a chessboard were to have wheat placed upon each square such that x grains were placed on the first square and each successiv...

5年以上 前

解決済み


Is this date a palindrome?emordnilap a etad siht sI
Take a MATLAB date number as input, and return true if the date is a palindrome, false if the date is not a palindrome. A date ...

5年以上 前

さらに読み込む