Community Profile

# Patrick Mineault

### McGill University

13 2010 年以降の合計貢献数

http://xcorr.net
Professional Interests: neuroscience

#### Patrick Mineault's バッジ

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

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

8年弱 前

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

8年弱 前

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

8年弱 前

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

8年弱 前

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

8年弱 前

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

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

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

8年以上 前 | ダウンロード 18 件 |

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

8年以上 前 | ダウンロード 9 件 |

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

8年以上 前 | ダウンロード 7 件 |

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

8年以上 前 | ダウンロード 7 件 |

Embiggen
Add (or multiply, divide, etc) a matrix A to a vector b with the simple syntax A + Embiggen(b)

9年以上 前 | ダウンロード 1 件 |