# Lincoln Poon

A university student working his way through programming.

**Statistics**

**Cody**

**0** Problems

**3855** Solutions

RANK**N/A**

of 265,298

REPUTATION**N/A**

CONTRIBUTIONS

**0** Questions

**0** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**0**

RANK

of 18,130

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Find out if Quadratic Equation has real roots or not?

Input [a b c] ax^2+bx+c=0 Output [1 or 0] 1= Quadratic Equation has real roots 0= Quadratic Equation has real roots

1 hour ago

Solved

Array Concatenation (1)

Given two matrices, a and b, concatenate the two matrices horizontally, i.e., the number of columns of the result should be equa...

5 hours ago

Solved

Calculate a modified Levenshtein distance between two strings

Inspired by the Cody problem found <http://www.mathworks.com/matlabcentral/cody/problems/93-calculate-the-levenshtein-distance-b...

7 hours ago

Solved

Matrix Quadrants

Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...

8 hours ago

Solved

Sum the elements in rows of the Levine triangle

The Levine triangle starts as follows: Row 0: 2 Row 1: 1 1 Row 2: 1 2 Row 3: 1 1 2 To construct each row, r...

11 hours ago

Solved

Square root

Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

14 hours ago

Solved

Compute the Sequence of the Day

A sequence starts with 1 and 2, and each subsequent term is the sum of the digits of the product of the previous two terms. As a...

22 hours ago

Solved

Easy Sequences 4: Eliminate the Days of Confusion

If a date is written in purely numeric format some dates can be confusing, if we don't know the date format used. For example, "...

24 hours ago

Solved

Easy Sequences 3: Prime 44-number Squares

The positive integers 62 and 238 are related. Their squares (3844 and 56,644) both end in '44'. In fact, 62 and 238 are the 3rd ...

1 day ago

Solved

Broken numlock key, oppps !

The numlock key on my computer is pressed and is now broken, so I cant press it to switch off the numlock mode. And hence I am n...

1 day ago

Solved

Pancake sorting

Sort a stack of pancakes by flipping them using spatula. * There are _N_ pancakes with diameters _1:N_. * Spatula can be ins...

1 day ago

Solved

How to reverse spdiags?

The spdiags function extracts all nonzero diagonals from the m-by-n matrix A. So if A=[1 2 3;4 5 6;7 8 9], spdiags(A)=[7 4...

1 day ago

Solved

Fangs of a vampire number

A vampire number is a number v that is the product of two numbers x and y such that the following conditions are satisfied: at ...

1 day ago

Solved

Project Euler: Problem 9, Pythagorean numbers

A Pythagorean triplet is a set of three natural numbers, a b c, for which, a^2 + b^2 = c^2 For example, 3^2 + 4^2 = 9 + 16 ...

1 day ago

Solved

Mathematical formula

Find the value of the expression given the values of variables t and k. Assume g=9.81

1 day ago

Solved

Find all prime factors of the input

Given an input x, find its all prime factors. Return the vector with all factors in ascending order. Efficiency is the key here...

1 day ago

Solved

Find the remainder - 02

Given an array of integers, find the remainder when the summation of all the elements is divided by N

1 day ago

Solved

Momentum Calculation

A shopping cart of mass 'm1' is traveling with velocity 'u' and collides with a second shopping cart of mass 'm2.' The two shopp...

1 day ago

Solved

Sequence

Let S be a sequence of numbers Let Find for some , where and . Update - test suite cleaned up on 2-9-22

1 day ago

Solved

Sum of Arithmetic Progression

Given the starting number, difference and the number of terms - find the sum of the arithmetic progression.

1 day ago

Solved

Dominant Matrix - 01

A matrix is said to be diagonally dominant if for every row of the matrix, the magnitude of the diagonal entry in a row is large...

2 days ago

Solved

Find the jerk

No, it's not the author of this problem... Jerk is the rate of change in acceleration over time of an object. So, if given t...

3 days ago

Solved

SatCom #8: Satellite Link Budget

Satellite and Space Engineering - Problem #8 This is part of a series of problems looking at topics in satellite and space comm...

3 days ago

Solved

SatCom #6: Inclination of a Sun-Synchronous Orbit

Satellite and Space Engineering - Problem #5 This is part of a series of problems looking at topics in satellite and space comm...

3 days ago

Solved

SatCom #5: Determine Elliptical Orbit Parameters

*Satellite and Space Engineering - Problem #5* _This is part of a series of problems looking at topics in satellite and space...

3 days ago