Professional Interests: Mechanical Engineering

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

7 months ago | 2 downloads |

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

8 months 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 ...

8 months 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...

8 months 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...

8 months 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...

8 months 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

1 year ago | 15 downloads |

Submitted

Plot with multiple Y-axes

Plotting function that allows for N y-axes using a common x axis

2 years ago | 43 downloads |

Submitted

roundtowardvec

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

2 years ago | 2 downloads |

Submitted

Compressible Flow Relations

Calculates various flow relations for compressible fluid flow

3 years ago | 20 downloads |

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

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

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

6 years ago

Solved

Determine if input is odd

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

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

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

6 years ago

Answered

Round towards specific values in an array

http://www.mathworks.com/matlabcentral/fileexchange/37674-roundtowardvec-m Check this function out.

Round towards specific values in an array

http://www.mathworks.com/matlabcentral/fileexchange/37674-roundtowardvec-m Check this function out.

9 years ago | 1