Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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.

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


Find the Pattern 7

casi 2 años hace

Resuelto


Find the Pattern 8

casi 2 años hace

Resuelto


Find the Pattern 5

casi 2 años hace

Resuelto


Find the Pattern 6

casi 2 años hace

Resuelto


Find the Pattern 2

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


Find the Pattern 4

casi 2 años hace

Resuelto


Find the Pattern 10

casi 2 años hace

Resuelto


Find the Pattern 9

casi 2 años hace

Resuelto


Find the Pattern 1

casi 2 años hace

Resuelto


Find the Pattern 3

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Cargar más