Gelöst


Find the Pattern 8

etwa ein Jahr vor

Gelöst


Find the Pattern 7

etwa ein Jahr vor

Gelöst


Find the Pattern 6

etwa ein Jahr vor

Gelöst


Find the Pattern 5

etwa ein Jahr vor

Gelöst


Find the Pattern 4

etwa ein Jahr vor

Gelöst


Diagonal Pattern
For a positive integer |n|, return an |nXn| matrix |mat| such that the value of each element in row |i| and column |j| is given ...

etwa ein Jahr vor

Gelöst


Make a rainbow matrix (follow-up to checkerboard matrix)
Given an integer n, make an n-by-n matrix as shown below. The a(1,1) should be 0. As we move away from the top-left, the number ...

etwa ein Jahr vor

Gelöst


Vandermonde Matrix
Create the Vandermonde Matrix of the given vector. The matrix consists of columns as powers of the vector, so the first column i...

etwa ein Jahr vor

Gelöst


Tent matrix
Create an n x n matrix that resembles one kind of tent. The variable n is provided to the function and will be an odd number. As...

etwa ein Jahr vor

Gelöst


create a square matrix
create a [n*n] matrix. example: mat(4)= [ 1 4 9 16 4 4 9 16 9 9 ...

etwa ein Jahr vor

Gelöst


Create a square matrix with given conditions
Create a square matrix, M, which should be populated as follows: M = [ n^2 n * (n-1) n * (n-2) ... n * 2 n * ...

etwa ein Jahr vor

Gelöst


Form a square matrix from four square sub-matrices
Create a square matrix, y, from 4 square sub-matrices that will be constructed (x1, x2, x3, x4): y = [x1 x2; x3 x4]; ...

etwa ein Jahr vor

Gelöst


Check if a matrix is a palindrome in all directions
Check if a matrix is a palindrome both vertically and horizontally. You function will return *true* for |[1,2,1]| or |[2,7,2;...

etwa ein Jahr vor

Gelöst


Dice face matrix!
This is dice simulator, but instead of making a random die number, you will receive an "pre-rolled" number in and spit out a mat...

etwa ein Jahr vor

Gelöst


Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

etwa ein Jahr vor

Gelöst


System of Linear Equations

etwa ein Jahr vor

Gelöst


Find the area between curves (P2)

etwa ein Jahr vor

Gelöst


Find the area between curves (P3)

etwa ein Jahr vor

Gelöst


Find the area between curves (P1)

etwa ein Jahr vor

Gelöst


Find the Pattern 3

etwa ein Jahr vor

Gelöst


Find the Pattern 2

etwa ein Jahr vor

Gelöst


Find the Pattern 1

etwa ein Jahr vor

Gelöst


Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

etwa ein Jahr vor

Gelöst


Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

etwa ein Jahr vor

Gelöst


A matrix of extroverts
Now that the introverts have had their script, the extroverts spoke up (naturally!) and demanded one as well. You will be given...

etwa ein Jahr vor

Gelöst


Too Many Zeros, Dump Them!
Sometimes when I create a matrix, I use this syntax: a = zeros(1000,1000); But when the function ends, I find that I don'...

etwa ein Jahr vor

Gelöst


Enlarge array
Given an m-by-n numeric array (A) and a 1-by-2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m...

etwa ein Jahr vor

Gelöst


frame of the matrix
Given the matrix M, return M without the external frame.

etwa ein Jahr vor

Gelöst


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

etwa ein Jahr vor

Gelöst


How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

etwa ein Jahr vor

Mehr laden