Risolto


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

24 giorni fa

Risolto


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

24 giorni fa

Risolto


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

24 giorni fa

Risolto


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

24 giorni fa

Risolto


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

24 giorni fa

Risolto


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

24 giorni fa

Risolto


Find the Pattern 10

24 giorni fa

Risolto


Find the Pattern 9

24 giorni fa

Risolto


Find the Pattern 8

24 giorni fa

Risolto


Find the Pattern 7

24 giorni fa

Risolto


Find the Pattern 6

24 giorni fa

Risolto


Find the Pattern 5

24 giorni fa

Risolto


Find the Pattern 4

24 giorni fa

Risolto


Find the Pattern 3

24 giorni fa

Risolto


Find the Pattern 2

24 giorni fa

Risolto


Find the Pattern 1

24 giorni fa

Risolto


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

24 giorni fa

Risolto


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

24 giorni fa

Risolto


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

24 giorni fa

Risolto


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

24 giorni fa

Risolto


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

24 giorni fa

Risolto


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

24 giorni fa