解決済み


radius of a spherical planet
You just measured its surface area, that is the input.

5年弱 前

解決済み


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

5年弱 前

解決済み


Is the Point in a Triangle?
Check whether a point or multiple points is/are in a triangle with three corners Points = [x, y]; Triangle = [x1, y1; x...

5年弱 前

解決済み


03 - Matrix Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3c.png>> A 10x10 matrix where the numbers from 1 to 100 ...

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年弱 前

解決済み


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

5年弱 前

解決済み


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

5年弱 前

解決済み


Draw a '4' in a zero matrix!

5年弱 前

解決済み


Draw a '6' in a zero matrix!

5年弱 前

解決済み


Draw a '9' in a zero matrix!

5年弱 前

解決済み


Draw a '7' in a zero matrix!

5年弱 前

解決済み


Draw a '8' in a zero matrix!

5年弱 前

解決済み


Draw a '3' in a zero matrix!

5年弱 前

解決済み


Draw a '2' in a zero matrix!

5年弱 前

解決済み


Draw a '5' in a zero matrix!

5年弱 前

解決済み


Draw a '1' in a zero matrix!

5年弱 前

解決済み


Add two numbers
Add two numbers (For beginners)

5年弱 前

解決済み


Problem for beginners
Suppose that x is a column vector, with at least a length of 6. Delete the 2., 6., and the second last row. Example: X=[1;2;3...

5年弱 前

解決済み


Problem for beginners
M is a nxm matrix. Swap the fist and the second last column with eachother. X=[1 2 3;4 5 6;7 8 9] Y=[2 1 3;5 4 6;8 7 9]

5年弱 前

解決済み


Stairs
Make an n by n matrix, where the elements are ones and zeros. In the main diagonal, and under that, there should be only ones (...

5年弱 前

解決済み


Matrix for beginners
Multiply x and y elemwise.

5年弱 前

解決済み


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...

5年弱 前

解決済み


Energy Conversion 2

5年弱 前

解決済み


Energy Conversion 1

5年弱 前

解決済み


Velocity Conversion

5年弱 前

解決済み


Area Conversion 2

5年弱 前

解決済み


Area Conversion 1

5年弱 前

解決済み


Mass Conversion 2

5年弱 前

解決済み


Mass Conversion 1

5年弱 前

解決済み


Temperature Conversion 3

5年弱 前

さらに読み込む