已解决


Row sum

1 year 前

已解决


Row avg

1 year 前

已解决


Factorial

1 year 前

已解决


find the height

1 year 前

已解决


PIN code

1 year 前

已解决


F.R.I.E.N.D.S

1 year 前

已解决


Find the sum of all integers in a given matrix
Finding sum of all integers in a given matrix

1 year 前

已解决


Divide pi
Divide pi by x!

1 year 前

已解决


Draw the symbol '+'
Draw '+' in an x-by-x matrix (where x is odd and x >3) Example: x = 5 y = [0 0 1 0 0 0 0 1 0 0 1 1 1 1 1 0 ...

1 year 前

已解决


Summation of integers

1 year 前

已解决


square of a number
find square of a given number

1 year 前

已解决


Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

1 year 前

已解决


Power Numbers
Find the n-th power of m.

1 year 前

已解决


Sort in descending order.

1 year 前

已解决


area

1 year 前

已解决


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

1 year 前

已解决


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

1 year 前

已解决


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

1 year 前

已解决


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

1 year 前

已解决


Square a Number
Given an input x, return y, which is equal to the square of x.

1 year 前

已解决


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

1 year 前

已解决


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

1 year 前

已解决


length of a vector
Find twice the length of a given vector.

1 year 前

已解决


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

1 year 前

已解决


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

1 year 前

已解决


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

1 year 前

已解决


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

1 year 前

已解决


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

1 year 前

已解决


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

1 year 前

已解决


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

1 year 前

加载更多