解決済み


The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

約5年 前

解決済み


Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

約5年 前

解決済み


Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

約5年 前

解決済み


Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

約5年 前

解決済み


Remove all the words that end with "ain"
Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

約5年 前

解決済み


Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

約5年 前

解決済み


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

約5年 前

解決済み


Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

約5年 前

解決済み


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

約5年 前

解決済み


Box!
Given a box, find the volume of the cube. With each side = a.

約5年 前

解決済み


Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

約5年 前

解決済み


Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

約5年 前

解決済み


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

約5年 前

解決済み


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

約5年 前

解決済み


Your favourite city!
Type your favourite city.

約5年 前

解決済み


Log of a number
Write a script that will give the log of x as output.

約5年 前

解決済み


Equal to their cube
Tell me three real numbers that are equal to their cubes?

約5年 前

解決済み


What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

約5年 前

解決済み


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

約5年 前

解決済み


Will there be a new leader?
Simply answer the title.

約5年 前

解決済み


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

約5年 前

解決済み


kmph to mps
convert kilometer per hour to meter per second

約5年 前

解決済み


square root
Find the square root (y) of an input (x).

約5年 前

解決済み


Where is she?
Given the numbers 12, 3, 6, 9 Tell where the girl is located. That is: Look to your 3 o'clock = look right Example ...

約5年 前

解決済み


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

約5年 前

解決済み


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

約5年 前

解決済み


Multiply 2 numbers
Very easy, you just have to multiply 2 numbers but you cannot use the following signs (*, /, - ,^) ,mtimes , times, cross, pro...

約5年 前

解決済み


CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

約5年 前

解決済み


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

約5年 前

解決済み


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

約5年 前

さらに読み込む