Community Profile

photo

Drew Compston


Stanford University

15 total contributions since 2012

Contact

Drew Compston's Badges

  • Personal Best Downloads Level 3
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Solver

View details...

Contributions in
View by

Submitted


MSIS-E-00
NRL MSIS-E-00 atmosphere model.

3 months ago | 6 downloads |

Thumbnail

Submitted


International Geomagnetic Reference Field (IGRF) Model
Compute the Earth's magnetic field at points in space according to the IGRF model.

3 months ago | 52 downloads |

Thumbnail

Submitted


International Reference Ionosphere (IRI) Model
Get the International Reference Ionosphere (IRI) output parameters.

3 months ago | 33 downloads |

Thumbnail

Solved


Ordinal numbers
Given an integer n, return the corresponding ordinal number as a character string. For example, ord(1)='1st' ord(2)=...

7 years ago

Submitted


Two's Complement Binary Strings
Convert between binary fixed point two's complement strings and decimal numbers.

7 years ago | 6 downloads |

Solved


Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

7 years ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

7 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

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

7 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

7 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

7 years ago

Submitted


Fresnel Integral
Compute Fresnel integral.

7 years ago | 4 downloads |

Submitted


Recursive HYPOT Function for Multiple Inputs
Extension of the built-in MATLAB function hypot for multiple inputs.

8 years ago | 0 downloads |

Submitted


Jet Variant
Variant of the Jet colormap. It starts at white rather than dark blue.

8 years ago | 2 downloads |

Thumbnail