Solved


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

bijna 2 jaar ago

Solved


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

bijna 2 jaar ago

Solved


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

bijna 2 jaar ago

Solved


Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

bijna 2 jaar ago

Solved


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

bijna 2 jaar ago

Solved


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

bijna 2 jaar ago

Solved


Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

bijna 2 jaar ago

Solved


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

bijna 2 jaar ago

Solved


Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

bijna 2 jaar ago

Solved


Draw a '1' in a zero matrix!

bijna 2 jaar ago

Solved


Draw a '3' in a zero matrix!

bijna 2 jaar ago

Solved


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

bijna 2 jaar ago

Solved


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

bijna 2 jaar ago

Solved


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

bijna 2 jaar ago

Solved


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

bijna 2 jaar ago

Solved


Draw a '0' in a one matrix!

bijna 2 jaar ago

Solved


Mass Conversion 2

bijna 2 jaar ago

Solved


Area Conversion 1

bijna 2 jaar ago

Solved


Energy Conversion 1

bijna 2 jaar ago

Solved


Energy Conversion 2

bijna 2 jaar ago

Solved


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

bijna 2 jaar ago

Solved


Area Conversion 2

bijna 2 jaar ago

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

bijna 2 jaar ago

Solved


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

bijna 2 jaar ago

Solved


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

bijna 2 jaar ago

Solved


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

bijna 2 jaar ago

Solved


Mass Conversion 1

bijna 2 jaar ago

Solved


Temperature Conversion 3

bijna 2 jaar ago

Solved


Temperature Conversion 1

bijna 2 jaar ago

Load more