Statistiken
RANG
110.478
of 289.926
REPUTATION
0
BEITRÄGE
1 Frage
0 Antworten
ANTWORTZUSTIMMUNG
0.0%
ERHALTENE STIMMEN
0
RANG
of 19.607
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...
etwa 9 Jahre vor
Gelöst
Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.
etwa 9 Jahre vor
Gelöst
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
etwa 9 Jahre vor
Gelöst
Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...
etwa 9 Jahre vor
Gelöst
Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...
etwa 11 Jahre vor
Gelöst
Wheat on a chessboard pt 1
If a chessboard were to have wheat placed upon each square such that one grain were placed on the first square and each successi...
etwa 11 Jahre vor
Gelöst
matrix of natural number
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 resides seially as shown in the examples below. ...
etwa 11 Jahre vor
Gelöst
Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.
etwa 11 Jahre vor
Gelöst
Possible Outcomes of American Roulette
The payout for American roulette can be calculated by: payout = (38/n)-1 where n is the number of squares the bet covers. ...
etwa 11 Jahre vor
Gelöst
Go-style solver
Consider a variation of the game Go where one player has gone ahead and placed several pieces all at once. Assuming that the sec...
mehr als 11 Jahre vor
Problem
Go-style solver
Consider a variation of the game Go where one player has gone ahead and placed several pieces all at once. Assuming that the sec...
mehr als 11 Jahre vor | 1 | 39 Lösungsvorschläge
Gelöst
Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...
mehr als 11 Jahre vor
Gelöst
sum of non-primes
The sum of the non-primes below 10 is 1+4+6+8+9+10=38 Find the sum of all the non-primes below the input, N.
mehr als 11 Jahre vor
Gelöst
Next Lower Power of B
Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is less than or equal to _n_. E...
mehr als 11 Jahre vor
Gelöst
Next Higher Power of B
|Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is greater than or equal to _n_. ...
mehr als 11 Jahre vor
Gelöst
The Dark Side of the Die
It is well-known that opposite sides of a classic hexahedral die add to 7. Given a vector of dice rolls, calculate the sum of th...
mehr als 11 Jahre vor
Gelöst
Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.
mehr als 11 Jahre vor
Gelöst
Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...
mehr als 11 Jahre vor
Gelöst
Elapsed time is -0.005204 seconds.
Write a function that takes less than zero seconds to execute, as measured using tic and toc. For repeatability, the test case p...
mehr als 11 Jahre vor
Gelöst
Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...
mehr als 11 Jahre vor
Gelöst
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
mehr als 11 Jahre vor
Gelöst
Global usage
This Challenge is to utilize Global variables. Global variables are risky as the subroutine may inadvertently and unwantingly...
mehr als 11 Jahre vor
Gelöst
Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...
mehr als 11 Jahre vor
Gelöst
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...
mehr als 11 Jahre vor
Gelöst
7 segment LED display
Given a whole number, output how many segments would be lit up to display it on a 7 segment LED display (http://en.wikipedia.org...
mehr als 11 Jahre vor
Gelöst
Determine if input is a Narcissistic number
<http://en.wikipedia.org/wiki/Narcissistic_number Narcissistic number> is a number that is the sum of its own digits each raised...
mehr als 11 Jahre vor
Gelöst
Replace May with April
For instance, if the input is input_str = 'The flowers may bloom in April'; then the output is output_str = 'The flo...
mehr als 11 Jahre vor
Gelöst
Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...
mehr als 11 Jahre vor
Gelöst
Find number of days
The input is two date in string format (dd-mm-yyyy) find out the number of days between these two dates. Example: input: ...
mehr als 11 Jahre vor