Community Profile

# Simon Pilgrim

Last seen: 5ヶ月 前 2019 以来アクティブ

バッジを表示

#### Content Feed

Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

1年以上 前

Max index of 3D array
Given a three dimensional array M(m,n,p) write a code that finds the three coordinates x,y,z of the Maximum value. Example ...

1年以上 前

Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

1年以上 前

Select primes from the matrix.
Select primes from the matrix.

1年以上 前

Area of Cylindrical Shell

1年以上 前

Volume of Cylindrical Shell

1年以上 前

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

1年以上 前

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.

1年以上 前

Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...

1年以上 前

Find the area of a square

1年以上 前

Find the Sum of matrix A

1年以上 前

Polygon in a unit circle

1年以上 前

2X MULTIPLIER

1年以上 前

Determine if input is a perfect square

1年以上 前

Find y if y is 4 times the value of x.

1年以上 前

Circle : Square

1年以上 前

1年以上 前

Sum of integers numbers
Sum of the numbers from 1 to 100

1年以上 前

Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3

1年以上 前

Half-Swap
Given a vector with an even number of elements, rearrange it so that the elements in its first half are switched with those i...

1年以上 前

Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

1年以上 前

An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

1年以上 前

calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

1年以上 前

Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

1年以上 前

Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

1年以上 前

Find the mode of the given input
Find the statistical <http://en.wikipedia.org/wiki/Mode_(statistics)/ mode> of the given input. Example: If X is matr...

1年以上 前

Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

1年以上 前

Find 0 in array
Given array find where there 0 is.

1年以上 前

Divide pi
Divide pi by x!

1年以上 前