Community Profile

photo

Martin Thomas


Last seen: ein Tag ago
119 total contributions since 2019

Martin Thomas's Badges

  • First Review
  • Community Group Solver
  • First Submission
  • Commenter
  • Solver

View details...

Contributions in
View by

Solved


How many ways?
Create a program to determine in how many ways can a regular n-gon be divided into n-2 triangles?

13 Tage ago

Solved


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

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

2 Monate ago

Solved


radius of a spherical planet
You just measured its surface area, that is the input.

2 Monate ago

Solved


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

2 Monate ago

Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

2 Monate ago

Solved


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

2 Monate ago

Solved


Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

2 Monate ago

Solved


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

2 Monate ago

Solved


Tiling a matrix
Given a matrix and a number of columns, replicate matrix in a single row

2 Monate ago

Solved


Calculate distance travelled when given radius and rotations
When given radius of wheel and number of rotations calculate total distance travelled consider pi=3.14

2 Monate ago

Solved


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

2 Monate ago

Solved


Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

2 Monate ago

Solved


length of a vector
Find twice the length of a given vector.

2 Monate ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

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

2 Monate ago

Solved


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

2 Monate 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. <<http://upload...

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

2 Monate 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? <<http://upload.wikimedia.org/wikipe...

2 Monate 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? <<http://upload.wikimedia.org/wikipe...

2 Monate ago

Solved


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

2 Monate ago

Solved


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

2 Monate ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

2 Monate ago

Solved


Inner product of two vectors
Find the inner product of two vectors.

2 Monate ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

2 Monate ago

Solved


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

2 Monate ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

2 Monate ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

2 Monate ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

2 Monate ago

Load more