Community Profile

photo

luffy wang


Last seen: 2 months ago Active since 2020

Programming Languages:
Python
Spoken Languages:
English

Statistics

  • Cody Problems in Japanese Master
  • Leader
  • Draw Letters
  • Scholar
  • Project Euler I
  • Commenter
  • Promoter
  • Community Group Solver
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Solver

View badges

Content Feed

View by

Solved


Find Logic 20

1 year ago

Solved


Find the index of n in magic(n)
If input n=5, then magic(n) is 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22...

1 year ago

Solved


Calculate the integral of the polynomial
for e.g. in = [3 2 1] out = [1 1 1 0]

1 year ago

Solved


Linear system solve
Solve a linear set of equations as described in the following link: http://www.people.virginia.edu/~teh1m/cody/linsolv1.pdf

1 year ago

Solved


Unique - Very Very Large Numbers
Given a vector column, with some very large numbers, create the ascending sort and unique vector. *Input:* A (column vector)...

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

1 year ago

Solved


SatCom #10: Rate of Precesion of Orbit Plane (Nodal Precession)
Satellite and Space Engineering - Problem #10 This is part of a series of problems looking at topics in satellite and space com...

1 year ago

Solved


SatCom #9: Overall Link Performance
Satellite and Space Engineering - Problem #9 This is part of a series of problems looking at topics in satellite and space comm...

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

1 year ago

Solved


SatCom #3: Free Space Path Loss
*Satellite and Space Engineering - Problem #3* _This is part of a series of problems looking at topics in satellite and space...

1 year ago

Solved


SatCom #1: Wavelength of an electomagnetic wave
*Satellite and Space Engineering - Problem #1* _This is the first of a series of problems looking at topics in satellite and ...

1 year ago

Solved


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

1 year ago

Solved


Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

1 year ago

Solved


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

1 year ago

Solved


Squares inside a square!

1 year ago

Solved


Area of square
Find the area of a square whose diagonal length is given as x.

1 year ago

Solved


Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...

1 year ago

Solved


Volume of Cylinder
Find the volume of a cylinder

1 year ago

Solved


Ohm's Law
Well its Ohm's law... So V = IR! I will give two of the three values, such as V and I or I and R and you have to return th...

1 year ago

Solved


Whole Number Un-Concatenator
Write a function that accepts an integer and an index digit and returns a vector containing two integers which are the leading a...

1 year ago

Solved


Primes for Large N: 2^30, System Memory Limit
This Challenge is to further improve the "primes" function for speed/memory usage to the Limit of Cody Memory. The Matlab fun...

1 year ago

Solved


Back to basics 5 - Clipboard
Covering some basic topics I haven't seen elsewhere on Cody. Copy the input string to the clipboard

1 year ago

Solved


Cubic Integer Constrained Solution
Find an integral non-trivial solution (x,y,z ~=0) (x=0 or y=0 or z=0 are trivial) for the cubic equation 987,654,321x + 123,45...

1 year ago

Solved


Sum of first n terms of a harmonic progression
Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....

1 year ago

Solved


Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

1 year ago

Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

1 year ago

Solved


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

1 year ago

Solved


Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

1 year ago

Load more