Solved


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

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

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

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

2 years 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: ...

2 years ago

Solved


Find the Pattern 7

2 years ago

Solved


Find the Pattern 8

2 years ago

Solved


Find the Pattern 5

2 years ago

Solved


Find the Pattern 6

2 years ago

Solved


Find the Pattern 2

2 years ago

Solved


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

2 years ago

Solved


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

2 years 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

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

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

2 years ago

Solved


Find the Pattern 4

2 years ago

Solved


Find the Pattern 10

2 years ago

Solved


Find the Pattern 9

2 years ago

Solved


Find the Pattern 1

2 years ago

Solved


Find the Pattern 3

2 years ago

Solved


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

2 years ago

Solved


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

2 years 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)-...

2 years ago

Solved


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

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

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

2 years ago

Solved


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

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

2 years 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];

2 years ago

Solved


'Determine if array of numbers is odd'
Return true if the input single number is odd. If the input is a vector, it will return a vector or array of logical values indi...

2 years ago

Load more