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

4年以上 前

vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

4年以上 前

Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

4年以上 前

Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

4年以上 前

Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

4年以上 前

Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

4年以上 前

The Tower of Hanoi
In the <http://en.wikipedia.org/wiki/Tower_of_Hanoi Tower of Hanoi problem> with 3 rods (1, 2 & 3), the goal is to move a tower ...

4年以上 前

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

4年以上 前

Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

4年以上 前

Second smallest number
What is the second smallest number in x? example: x = [1 2 3 4 5 6 7 8 9] y = 2

4年以上 前

Specific Element Count
Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...

4年以上 前

Create cotangent function out of sine.
Please, don't use cos, tan, cot matlab functions.

4年以上 前

cheating technique1
in these cody problems, there is a way to cheat. find out how people cheat.

4年以上 前

find a number (cheat)
find a number input^5 = input the out put should be the number. try cheating

4年以上 前

cheating technique2
there are some ways to get hints just by looking at the test suits to cheat. try.

4年以上 前

01 - Scalar variables
Create the following variables: <<http://samle.dk/STTBDP/Assignment1_1.png>>

4年以上 前

Sudoku square
We have a small Sudoku square, but one number is missing. x = [ 1 5 4 8 6 3 0 9 7 ] Make a function, wher...

4年以上 前

Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

4年以上 前

kmph to mps
convert kilometer per hour to meter per second

4年以上 前

02 - Vector Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2a.png>>

4年以上 前

Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

4年以上 前

Return area of square
Side of square=input=a Area=output=b

4年以上 前

Tree Height
Assign treeHeight with the tree height given the shadow length and angle of elevation. Simple geometry can compute the heigh...

4年以上 前

Computing wind chill
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

4年以上 前

Population growth
Assign finalPopulation with the population size given an initial population, population growth rate, and number of years. The fi...

4年以上 前

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

4年以上 前

given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

4年以上 前

Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.

4年以上 前

Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

4年以上 前

Write an expression
Assigns finalResult with firstSample plus secondSample, squared, then divided by 3. Ex: If firstSample is 18 and secondSample is...

4年以上 前