Resuelto


Calculating Student Grades
The matrix grades contains raw grades for 7 students who took your course. Each row represents a different student. The first 7 ...

19 días hace

Resuelto


Find Closest Constant
Given a number x, return the value that is closest to x from this list of constants: 0, 1, , e, , (also known as ). For exampl...

19 días hace

Resuelto


Find the minimum of the column-maximums of a matrix
Given a matrix A, find the maximum value of each column, then return the smallest of those maximum values (ie return the minimum...

19 días hace

Resuelto


Create an arrow matrix
An arrow matrix is a square matrix that contains ones on the diagonal, the last column, and last row. ...

19 días hace

Resuelto


Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...

19 días hace

Resuelto


Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...

19 días hace

Resuelto


Find the Pattern 10

19 días hace

Resuelto


Find the Pattern 9

19 días hace

Resuelto


Find the Pattern 8

19 días hace

Resuelto


Find the Pattern 7

19 días hace

Resuelto


Find the Pattern 6

19 días hace

Resuelto


Find the Pattern 5

19 días hace

Resuelto


Find the Pattern 4

19 días hace

Resuelto


Find the Pattern 3

19 días hace

Resuelto


Find the Pattern 2

19 días hace

Resuelto


Find the Pattern 1

19 días hace

Resuelto


Return a list sorted by number of consecutive occurrences
Inspired by Problem 38 by Cody Team. Given a vector x, return a vector y of the values in x sorted by the number of CONSECUTIVE ...

19 días hace

Resuelto


Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

19 días hace

Resuelto


Sub-sequence - 03
Given three sequences, find the length of the longest common subsequence. It is similar to the previous problem -- <https...

19 días hace

Resuelto


Number construction III
Given a positive integer, n, return a, b and c, such that 1. n = a^1.5+b^2.5+c^3.5 2. a, b and c are all positive integers...

19 días hace

Resuelto


Decimation
When dealing to the Roman Army, the term decimate meant that the entire unit would be broken up into groups of ten soldiers, and...

19 días hace

Resuelto


MATLAB Counter
Write a function f = counter(x0,b) to construct a counter handle f that counts with an initial value x0 and a step size b. E...

19 días hace