Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


Draw a '4' in a zero matrix!

mehr als 5 Jahre vor

Gelöst


Draw a '6' in a zero matrix!

mehr als 5 Jahre vor

Gelöst


Draw a '9' in a zero matrix!

mehr als 5 Jahre vor

Gelöst


Draw a '7' in a zero matrix!

mehr als 5 Jahre vor

Gelöst


Draw a '8' in a zero matrix!

mehr als 5 Jahre vor

Gelöst


Draw a '3' in a zero matrix!

mehr als 5 Jahre vor

Gelöst


Draw a '2' in a zero matrix!

mehr als 5 Jahre vor

Gelöst


Draw a '5' in a zero matrix!

mehr als 5 Jahre vor

Gelöst


Draw a '1' in a zero matrix!

mehr als 5 Jahre vor

Gelöst


Add two numbers
Add two numbers (For beginners)

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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]

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


Matrix for beginners
Multiply x and y elemwise.

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


Energy Conversion 2

mehr als 5 Jahre vor

Gelöst


Energy Conversion 1

mehr als 5 Jahre vor

Gelöst


Velocity Conversion

mehr als 5 Jahre vor

Gelöst


Area Conversion 2

mehr als 5 Jahre vor

Gelöst


Area Conversion 1

mehr als 5 Jahre vor

Gelöst


Mass Conversion 2

mehr als 5 Jahre vor

Gelöst


Mass Conversion 1

mehr als 5 Jahre vor

Gelöst


Temperature Conversion 3

mehr als 5 Jahre vor

Mehr laden