Community Profile

# Patrick Mineault

### McGill University

13 total contributions since 2010

http://xcorr.net
Professional Interests: neuroscience

View details...

Contributions in
View by

Submitted

mexme - write MEX files in no time
writes fully valid MEX .cpp files including mexFunction boilerplate based on numeric C/C++ snippet

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

Solved

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

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

Submitted

Fits GLM with a quadratic penalty, determines hyperparams through cross-validation or evidence

Submitted

Auto Gaussian & Gabor fits
Fit 1D/2D Gaussian or Gabor to a curve/surface without start guesses for params

Submitted

Matching pursuit for 1D signals
Performs Matching Pursuit on 1d (temporal) signals with custom basis

Submitted

Fast B-spline class
Fit, evaluate, differentiate non-uniform B-splines of any order - fast

Submitted

Boosted Generalized Additive Models (bgam) package
Boosting for the Generalized Additive and Linear Models (GAM and GLM).

Submitted

Unique elements in cell array
unique for numeric cell arrays. If c = {[0],[1,2],[0],[8],[1,2]} returns {[0],[1,2],[8]}