해결됨


Generate a melodic contour string matrix
<http://en.wikipedia.org/wiki/Parsons_code Parsons code> is a surprisingly effective way to identify music by its melodic motion...

5달 전

해결됨


Make a list string
Given a cell string, produce a string separating the items with spaces and commas and with an 'and' preceding the final item, an...

5달 전

해결됨


ABBREVIATION
Abbreviate the given string. Consider Only Capital Letters. EXAMPLE If input is 'Abbreviation of The Given String' then ou...

5달 전

해결됨


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

5달 전

해결됨


Convert Two Character String into a Binary Vector
Given a string "XOXXO" convert it into a binary vector. [1 0 1 1 0] Paul Berglund implemented an optimal method in <http://ww...

5달 전

해결됨


Is the paranthesis sequence balanced ?
Quantum mechanics and computer science are interested in <http://en.wikipedia.org/wiki/Bra%E2%80%93ket_notation bra-kets>. Today...

5달 전

해결됨


Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...

5달 전

해결됨


Simple Decoder Ring
The stereotypical _decoder ring_ is remembered as a cereal box prize from the 1950s. Kids learned about cryptography by startin...

5달 전

해결됨


Eliminate Polysyllabics: Long live short words!
Given a string s1, return s2 in which all the words with more than one syllable have been removed. To make things simple, we ...

5달 전

해결됨


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

5달 전

해결됨


Convert radians to degrees
Given input in radians, output to degrees

5달 전

해결됨


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

5달 전

해결됨


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

5달 전

해결됨


Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

5달 전

해결됨


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

5달 전

해결됨


Approximation of Pi (vector inputs)
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

5달 전

해결됨


Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

5달 전

해결됨


geometric progression
I've modified my <http://uk.mathworks.com/matlabcentral/cody/problems/2800-arithmetic-progression previous program> so that it n...

5달 전

해결됨


arithmetic progression
I've written a program to generate the first few terms of <https://en.wikipedia.org/wiki/Arithmetic_progression arithmetic progr...

5달 전

해결됨


Largest Geometric Series
Extension of Ned Gulley's wonderful <http://www.mathworks.com/matlabcentral/cody/problems/317 Problem 317>. In a geometric se...

5달 전

해결됨


Find similar sequences
Another problem inspired by a question on the <http://www.mathworks.com/matlabcentral/answers answers> forum. Given a matrix ...

5달 전

해결됨


Generate Square Wave
Generate a square wave of desired length, number of complete cycles and duty cycle. Here, duty cycle is defined as the fraction ...

5달 전

해결됨


Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?

5달 전

해결됨


Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

5달 전

해결됨


Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

5달 전

해결됨


Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?

5달 전

해결됨


Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

5달 전

해결됨


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

5달 전

해결됨


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

5달 전

해결됨


Big numbers, repeated least significant digits
This problem builds off of <http://www.mathworks.com/matlabcentral/cody/problems/3077-big-numbers-least-significant-digits/ Prob...

5달 전

더로드