解決済み


Solve an ODE: equation C
Write a function to solve the following ordinary differential equation: with and . The parameter is a constant. The functi...

5年弱 前

解決済み


Count unique orderings of vertices of a polygon
Cody Problem 2671 asks us to determine whether four points can be the corners of a rectangle. The points are not necessarily inp...

5年弱 前

解決済み


Sum the elements in rows of the Levine triangle
The Levine triangle starts as follows: Row 0: 2 Row 1: 1 1 Row 2: 1 2 Row 3: 1 1 2 To construct each row, r...

5年弱 前

解決済み


Determine when snow started
R.P. Agnew posed the following problem: It starts snowing in the morning and continues steadily throughout the day. A snowplow t...

5年弱 前

解決済み


Eliminate redundant numbers in text
Occasionally someone might write text such as Briefly explain one (1) common problem that can result from the constant use of ...

5年弱 前

解決済み


Solve an ODE: equation B

5年弱 前

解決済み


List the titles of Cody problems

5年弱 前

解決済み


Restricted Subtraction v1
This problem is <https://www.mathworks.com/matlabcentral/cody/problems/45265-restricted-addition-v4 Restricted Addition v4> with...

5年弱 前

解決済み


Compression: Encode and Decode
This Challenge is to compress an array created by randi(2^32-1,1000) and then decompress your data file. The first call will ...

5年弱 前

解決済み


List Proth primes

5年弱 前

解決済み


Don't you have something better to do?

5年弱 前

解決済み


Spiraling out of control....
Imagine a square with corners at the origin and at (1,1). An interesting spiral can be created by tracing the path of a moving ...

5年弱 前

解決済み


How many ways to write
How many ways to write a positive integer x as the sum of n numbers , where , x>n and no n number is less than -2.

5年弱 前

解決済み


Flip coins

5年弱 前

解決済み


Portfolio diversification: choose your stocks !
we have the returns of 3 stocks for the last 4 years and we have to combine only 2 stocks that are less correlated. Example: ...

5年弱 前

解決済み


USC Fall 2012 ACM: Driving the Rover
This Challenge is to solve Question E, Driving the Rover, of the <http://contest.usc.edu/index.php/Fall12/Home USC ACM Fall 2012...

5年弱 前

解決済み


Persistence will not help you solve this problem.
Create a function without inputs that adds one to the output every time it is called. A different possibility of solving this ha...

5年弱 前

解決済み


Spell the number
Using the British short scale notation, write a function to return the correct spelling of a number passed as a numeric string i...

5年弱 前

解決済み


Solve an ODE: equation A

5年弱 前

解決済み


Flip the matrix as -

5年弱 前

解決済み


Iterate the sum of divisors and totient

5年弱 前

解決済み


Convert any case sentence to Title Case

約5年 前

解決済み


Determine if input is even

約5年 前

解決済み


Apply Function to Each Field of a Structure Array: Part 1
The builtin <http://www.mathworks.com/help/matlab/ref/structfun.html?=structfun structfun> applies a function handle to each fie...

約5年 前

さらに読み込む