Community Profile

photo

Tom R


Purdue University

Last seen: 5 months ago Active since 2012

Professional Interests: Mechanical Engineering

Programming Languages:
Python, C++, C, MATLAB, Shell
Spoken Languages:
English

Statistics

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

View badges

Content Feed

View by

Submitted


Compressible Flow Relations
Calculates various flow relations for compressible fluid flow

2 years ago | 27 downloads |

Thumbnail

Submitted


Shape-preserving refinement of an STL/Triangulation
This function performs a shape preserving refinement to add faces to an existing triangulation (struct or STL).

3 years ago | 3 downloads |

Thumbnail

Solved


Project Euler: Problem 8, Find largest product in a large string of numbers
Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...

3 years ago

Solved


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

3 years ago

Solved


Project Euler: Problem 5, Smallest multiple
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smalle...

3 years ago

Solved


Negative Infinity
Round the given array a towards negative infinity.

3 years ago

Solved


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

3 years ago

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

3 years ago

Submitted


Find multi-objective Pareto front using modified quicksort
This function returns the indices to the Pareto optimal set of designs for a given multi-objective solution space

4 years ago | 5 downloads |

Thumbnail

Submitted


Plot with multiple Y-axes
Plotting function that allows for N y-axes using a common x axis

4 years ago | 48 downloads |

Thumbnail

Submitted


roundtowardvec
Round a vector of values towards a given vector of choices.

5 years ago | 1 download |

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

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

9 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

9 years ago

Solved


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

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

9 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

9 years ago

Answered
Round towards specific values in an array
http://www.mathworks.com/matlabcentral/fileexchange/37674-roundtowardvec-m Check this function out.

11 years ago | 1