Solved


Counting in Finnish
Sort a vector of single digit whole numbers alphabetically by their name, in Finnish. See the Wikipedia page for <http://en.wik...

1 year ago

Solved


Nilpotent matrix
Check if matrix A is <http://mathworks.com/ nilpotent>.

1 year ago

Solved


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

1 year ago

Solved


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

1 year ago

Solved


surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...

1 year ago

Solved


Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

1 year ago

Solved


Find the Pattern 7

1 year ago

Solved


Find the Pattern 8

1 year ago

Solved


Find the Pattern 5

1 year ago

Solved


Find the Pattern 6

1 year ago

Solved


Find the Pattern 2

1 year ago

Solved


Solve the logic
logic(1) = -4 logic(2) = -8 logic(3) = -9 logic(4) = 4 logic(5) = 95 logic(6) = 690

1 year ago

Solved


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

1 year ago

Solved


Check if a year is a leap year or not
Return 1 if a given year is a leap year or 0 if it is not

1 year ago

Solved


Similar Triangles - find the height of the tree
Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...

1 year ago

Solved


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

1 year ago

Solved


Find the Pattern 4

1 year ago

Solved


Find the Pattern 10

1 year ago

Solved


Find the Pattern 9

1 year ago

Solved


Find the Pattern 1

1 year ago

Solved


Find the Pattern 3

1 year ago

Solved


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

1 year ago

Solved


Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

1 year ago

Solved


All odd - all even
All odd numbers in x are added, while all even numers are subtracted from this. example: x = [1 2 3 4 5]; y = +(1+3+5)-...

1 year ago

Solved


Guess
A random number between 1 and 10 is created for the variable y. Guess what its value is.

1 year ago

Solved


Even or Odd
Write a function which can tell us if the given value x is odd or even. So if x is even return true and if x is odd return false...

1 year ago

Solved


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 ago

Solved


Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

1 year ago

Solved


angle in regular polygon
Make a function which returns measure of interior angle in x-side regular polygon. x is as input. Please pay attention, that 1 ...

1 year ago

Solved


Basic commands - rounding
make a function which will round to integer, which is nearer to zero. Example x=[-2.5 2]; y=[-2 2];

1 year ago

Load more