Resuelto


Square area to triangle area
Given the area, A, of a square with side length, c, if a right angle triangle has the same area A and the hypothenuse length 2c ...

alrededor de 1 mes hace

Resuelto


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

alrededor de 1 mes hace

Resuelto


Find the Pattern 3

alrededor de 1 mes hace

Resuelto


Generate this matrix
For a given odd integer n, generate a matrix as follows: Input: n = 5; Output: [ 2 1 0 0 0 1 ...

alrededor de 1 mes hace

Resuelto


Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

alrededor de 1 mes hace

Resuelto


Toeplitz Matrix
For a given square matrix of order n-by-n check whether this is a Toeplitz matrix or not. Return true if it is.

alrededor de 1 mes hace

Resuelto


BULLSEYE Part 2: Reference Problem 18 BULLSEYE
Given n (always odd), return output a that has concentric rings of the 1s and 0s around the center point. Examples: Input ...

alrededor de 1 mes hace

Resuelto


Better bullseye matrix
<http://www.mathworks.com/matlabcentral/cody/problems/18-bullseye-matrix Problem 18> asks to create a bullseye matrix like this:...

alrededor de 1 mes hace

Resuelto


Create a matrix X, where each column is a shifted copy of the vector v
Example : in->v = (1:5)'; 1 2 3 4 5 out-> [1 5 4 3 2;2 1 5 4 3;3 2 1 5 4;4 3 2 1 5;5 4 3 ...

alrededor de 1 mes hace

Resuelto


"mirror" matrix
Create n x 2n "mirror" matrix of this type: Examples For n = 2 m = [ 1 2 2 1 1 2 2 1 ] For n = 3 m = ...

alrededor de 1 mes hace

Resuelto


Special matrix
Make a square matrix with this shape. For n=4 M = 1 1 0 0 1 0 1 0 0 1 0 ...

alrededor de 1 mes hace

Resuelto


Mirror Image matrix across anti-diagonal
Given an input number x, create a mirror image matrix 'Y' across the anti-diagonal. For example, if x=3, Y = [1 2 3; ...

alrededor de 1 mes hace

Resuelto


Create Volcano (or Atoll) martix. It is an extension of Bullseye matrix problem.
For example, if n=2 (maximum value), the output matrix should be [1 1 1 1 1; 1 2 2 2 1; 1 2 1 2 1; 1 2 2 2 1; 1 1 ...

alrededor de 1 mes hace

Resuelto


Symmetric matrix
You must create a n-by-n symmetric matrix such that A(row,col) = row/col for col >= row. Example if n =3 : output is : A = ...

alrededor de 1 mes hace

Resuelto


Matrix Pattern 2

alrededor de 1 mes hace

Resuelto


Matrix Pattern 5

alrededor de 1 mes hace

Resuelto


Matrix Pattern 6

alrededor de 1 mes hace

Resuelto


Matrix Pattern 10

alrededor de 1 mes hace

Resuelto


Matrix Pattern 7

alrededor de 1 mes hace

Resuelto


Matrix Pattern 9

alrededor de 1 mes hace

Resuelto


Matrix Pattern 8

alrededor de 1 mes hace

Resuelto


Matrix Pattern 4

alrededor de 1 mes hace

Resuelto


Matrix Pattern 3

alrededor de 1 mes hace

Resuelto


Matrix Pattern 1

alrededor de 1 mes hace

Resuelto


Chess ELO rating system
The Elo rating system is a method for calculating the relative chess skill levels of players in competitor-versus-competitor gam...

alrededor de 1 mes hace

Resuelto


Wheat on a chessboard pt 2
If a chessboard were to have wheat placed upon each square such that x grains were placed on the first square and each successiv...

alrededor de 1 mes hace

Resuelto


Wheat on a chessboard pt 1
If a chessboard were to have wheat placed upon each square such that one grain were placed on the first square and each successi...

alrededor de 1 mes hace

Resuelto


Generate a point cloud on an equilateral triangle 1
The input is the iteration parameter H. The output is a point cloud W involving N points. W is N uniformly distributed points ...

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


Find the Area of a Polygon
Consider 2-D geometry and assume that the points are given in form of rows of a matrix. Find the area of polygon enclosed by the...

alrededor de 1 mes hace

Cargar más