Community Profile

# Patrick Mineault

### McGill University

Active since 2010

http://xcorr.net
Professional Interests: neuroscience

All

#### Content Feed

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

casi 10 años ago

Solved

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

casi 10 años 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 ...

casi 10 años ago

Solved

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

casi 10 años 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:...

casi 10 años 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]}