Community Profile

# Jerry Wright

##### Last seen: Today
741 total contributions since 2020

#### Jerry Wright's Badges

View details...

Contributions in
View by

Solved

Find vampire numbers
A <http://en.wikipedia.org/wiki/Vampire_number vampire number> is a number v that is the product of two numbers x and y such th...

38 minutes ago

Solved

Find all vampire fangs
A <http://en.wikipedia.org/wiki/Vampire_number vampire number> is a number v that is the product of two numbers x and y such th...

1 hour ago

Solved

Fangs of a vampire number
A <http://en.wikipedia.org/wiki/Vampire_number vampire number> is a number v that is the product of two numbers x and y such tha...

2 days ago

Solved

Parasitic numbers
Test whether the first input x is an n-parasitic number: <http://en.wikipedia.org/wiki/Parasitic_number>. ( _n_ is the second in...

12 days ago

Solved

N-th Odious
Given index n return n-th <https://oeis.org/A000069 odious number>.

13 days ago

Solved

Find the 9's Complement
Find the 9's complement of the given number. An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...

13 days ago

Solved

Vectorizing, too easy or too hard?
Please insert a . before any ^, * or / in the string. That's it!!

23 days ago

Solved

Polygonal numbers
The task of <http://www.mathworks.co.uk/matlabcentral/cody/problems/5 Problem 5> is to calculate triangular numbers. By playing ...

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

23 days ago

Solved

Sort complex numbers into complex conjugate pairs
Sort complex numbers into complex conjugate pairs. Example: Input x = [3-6i -1-4i -1+4i 3+6i] Sorted output = [-1 - ...

23 days ago

Solved

Values in Array
How many values are in the array

23 days ago

Solved

Smith numbers
Return true if the input is a Smith number in base ten. Otherwise, return false. Read about Smith numbers at <http://en.wikipedi...

2 months ago

Solved

Kaprekar numbers
Test if the input is a Kaprekar number: <http://mathworld.wolfram.com/KaprekarNumber.html>. Return a logical true or false. ...

2 months ago

Solved

Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

2 months ago

Solved

Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

2 months ago

Solved

Bruh
Return 'bruh'.

2 months ago

Solved

Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

2 months ago

Solved

Convert decimal to hex as shown in test cases
Convert decimal to hex as shown in test cases.

2 months ago

Solved

Change the first and last diagonal element of the identity matrix to zero
Starting with the identity matrix, change first and last diagonal element to zero. Example If n=5 A = 0 0 ...

2 months ago

Solved

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

2 months ago

Solved

Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

2 months ago

Solved

Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function. If you l...

2 months ago

Solved

Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

2 months ago

Solved

Convert degrees to radians
Given input in degrees, output to radians

2 months ago

Solved

07 - Common functions and indexing 5
Create the vector _lin_: <<http://samle.dk/STTBDP/Assignment1_7e.png>> (the integers from 1 to 20) Make every other val...

2 months ago

Solved

Vector Magnitude Calculator
'a' is a vector that starts at the origin and ends at (x, y). Find ||a||. Hint: It is as simple as "ABC".

2 months ago

Solved

Conversion from hours to mili sec
Convert given input in hours to mili seconds

2 months ago

Solved

Rotate array 90 degrees
Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

2 months ago

Solved

modulus of a number
find the modulus of a given number

2 months ago

Solved

Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

2 months ago