# Victoria

### Ryazan State Radio Engineering University

Professional Interests: image processing, computer security, criptography, programming, mathematics

**Statistics**

**Cody**

**0** Problems

**285** Solutions

RANK**N/A**

of 265.419

REPUTATION**N/A**

CONTRIBUTIONS

**0** Questions

**0** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**0**

RANK

of 18.134

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Sort a list of complex numbers based on far they are from the origin.

Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

circa 3 ore ago

Solved

Bullseye Matrix

Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

circa 3 ore ago

Solved

Remove the vowels

Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

circa 4 ore ago

Solved

Back and Forth Rows

Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

circa 4 ore ago

Solved

Most nonzero elements in row

Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

circa 4 ore ago

Solved

Weighted average

Given two lists of numbers, determine the weighted average as follows Example [1 2 3] and [10 15 20] should result in 33.3...

circa 4 ore ago

Solved

Summing digits

Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

circa 4 ore ago

Solved

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

circa 4 ore ago

Solved

Matlab Basics - Pick out parts of a vector

Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...

circa 4 ore ago

Solved

Who is the smartest MATLAB programmer?

Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

circa 4 ore ago

Solved

Return the 3n+1 sequence for n

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

circa 4 ore ago

Solved

Find the numeric mean of the prime numbers in a matrix.

There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

circa 4 ore ago

Solved

Who Has the Most Change?

You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

circa 4 ore ago

Solved

Remove any row in which a NaN appears

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

circa 5 ore ago

Solved

Find the nearest prime number

Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

circa 5 ore ago

Solved

Construyendo matrices parte 2

Construye la siguiente matriz a partir de otros tres vectores/matrices. [ 1 8 15 3 3 3 3 2 9 16 3 3...

circa 5 ore ago

Solved

A shooting competition

In a shooting competition, the target is a square of side L containing a circle of radius R<=L/2. A player scores one point if h...

circa 5 ore ago

Solved

Find the coefficients for numerical integration using Simpson's rule

For using numerical integration using Simpson's rule, we need some coefficients to be determined first. Suppose the n is the nu...

circa 5 ore ago

Solved

Connect Four - 02

Previous Problem <https://www.mathworks.com/matlabcentral/cody/problems/45354-connect-four-01> In addition to previous proble...

circa 5 ore ago

Solved

Connect Four - 01

Connect four is a two player board game. <https://en.wikipedia.org/wiki/Connect_Four> Given a complete connect-four board,...

circa 6 ore ago

Solved

Create an arrow matrix

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

circa 13 ore ago

Solved

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

circa 13 ore ago

Solved

Determine if x is a combination of m and n

Given positive integers x, m, and n, determine if x can be written as x = am + bn for any (non-negative) integers a and b. Your ...

circa 13 ore ago

Solved

Dog Statistics

The vectors ht and wt contains the heights and weights of 20 golden retrievers. In some cases, it was not possible to make both ...

circa 13 ore ago

Solved

Generate this matrix

Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...

circa 13 ore ago

Solved

Simpson's Paradox - Calculate correlation coefficients for groups of data

Simpson's Paradox is a statistical phenomenon where groups of data can have a characteristic while the whole data set together h...

circa 13 ore ago

Solved

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

circa 13 ore ago

Solved

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

circa 13 ore ago

Solved

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

circa 13 ore ago

Solved

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

circa 13 ore ago