Community Profile

# Anupriya Mathews

Last seen: 1 year ago Active since 2018

#### Content Feed

View by

Solved

Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

4 years ago

Solved

Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

4 years ago

Solved

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

4 years ago

Solved

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

4 years ago

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

4 years ago

Solved

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

4 years ago

Solved

Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

4 years ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

4 years ago

Solved

Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

4 years ago

Solved

Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

4 years ago

Solved

Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

4 years ago

Solved

Matrix multiplication
Multiply two incoming matrices via matrix multiplication

4 years ago

Solved

Sum two matrices
Take two incoming matrices, and sum them

4 years ago

Solved

Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

4 years ago

Solved

Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

4 years ago

Solved

Matrix Max Finder
Output the maximum value in a matrix

4 years ago