Basic Physics I
Calculate the energy by the famous formula of Albert Einstein.
約1ヶ月 前
解決済み
TRON strategy toggle
Detect whether your lightcycle is on same side of existing walls as opponents lightcycle. This function is useful in toggling a ...
約1ヶ月 前
解決済み
James Bond film count
Twenty-three James Bond films have been produced, in the years
1962, 1963, 1964, 1965, 1967, 1969, 1971, 1973, ...
197...
Breaking Out of the Matrix
Do you want to take the Red Pill, or the Blue Pill?
If you take the Blue Pill, you will simply pass along to the next problem...
約1ヶ月 前
解決済み
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
Largest Geometric Series
Extension of Ned Gulley's wonderful Problem 317.
In a geometric series, ratio of adjacent elements is always a constant value. ...
約1ヶ月 前
解決済み
Remove all the consonants
Remove all the consonants in the given phrase.
Example:
Input s1 = 'Jack and Jill went up the hill';
Output s2 is 'a ...
約1ヶ月 前
解決済み
Find similar sequences
Another problem inspired by a question on the <http://www.mathworks.com/matlabcentral/answers answers> forum.
Given a matrix ...
約1ヶ月 前
解決済み
arithmetic progression
I've written a program to generate the first few terms of <https://en.wikipedia.org/wiki/Arithmetic_progression arithmetic progr...
約1ヶ月 前
解決済み
geometric progression
I've modified my <http://uk.mathworks.com/matlabcentral/cody/problems/2800-arithmetic-progression previous program> so that it n...