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

nästan 2 år 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...

nästan 2 år ago

Solved


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

nästan 2 år 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.

nästan 2 år 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...

nästan 2 år ago

Solved


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

nästan 2 år 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 [...

nästan 2 år ago

Solved


Draw a '1' in a zero matrix!

nästan 2 år ago

Solved


Draw a '3' in a zero matrix!

nästan 2 år ago

Solved


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

nästan 2 år 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>> ...

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år ago

Solved


Draw a '0' in a one matrix!

nästan 2 år ago

Solved


Mass Conversion 2

nästan 2 år ago

Solved


Area Conversion 1

nästan 2 år ago

Solved


Energy Conversion 1

nästan 2 år ago

Solved


Energy Conversion 2

nästan 2 år ago

Solved


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

nästan 2 år ago

Solved


Area Conversion 2

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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>> ...

nästan 2 år ago

Solved


Mass Conversion 1

nästan 2 år ago

Solved


Temperature Conversion 3

nästan 2 år ago

Solved


Temperature Conversion 1

nästan 2 år ago

Solved


Temperature Conversion 2

nästan 2 år ago

Solved


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

nästan 2 år ago

Load more