xcorr: AI & neuro

xcorr: AI & neuro

by Patrick Mineault

  • Good Research Code Handbook
  • Substack
  • Aboutxcorr is the blog of Patrick J. Mineault.
  • Obscure Matlab features #2: linear indexing, sub2ind, ind2sub

    Matlab supports 3 forms of indexing matrices. There is the familiar range indexing that selects a submatrix within a larger matrix: This is also called sub-indexing. There is also logical indexing: These two methods are fairly expressive, yet there are a certain number of operations which are awkward or impossible to perform with these. Let’s

    Read more

    June 12, 2011
  • Converting Word 2007 equations into 2003 or MathType equations

    I used the Word 2007 equation editor for a recent paper. I like the editor because it supports TeX-like commands. Unfortunately some journals do not support Word 2007 equations. PLoS Biology suggest saving down as Word 2003 and recreating the equations manually. Argh, that sounds like a terrible way to spend an afternoon. Thankfully, MathType

    Read more

    June 8, 2011
  • Generalized linear models with Gaussian priors in Matlab

    I have posted a set of functions to fit GLMs with Gaussian priors on Matlab Central. GLMs are a class of models in which an internal variable is contructed linearly from regressors, ie, , and the observed variable is generated from the internal variable through a non-Gaussian noise process. GLMs include standard linear regression, Poisson

    Read more

    June 6, 2011
  • Nice set of color and brightness illusions

    Via Cracking the Enigma: some really nice visual illusions from Discover. Top image: the faces of the top and bottom blocks are the same shade of gray.

    Read more

    June 6, 2011
  • An alternative method for spike-triggered covariance

    Spike-triggered covariance (STC) is a method of estimating receptive fields with quadratic or more generally symmetric nonlinearities in stimulus space. The basis idea behind spike-triggered covariance is that the ensemble of stimuli which drive a cell has different statistical properties than the ensemble of all stimuli that are presented to a neuron. In particular if

    Read more

    June 2, 2011
  • Whiten a matrix: Matlab & Python code

    Whitening a matrix is a useful preprocessing step in data analysis. The goal is to transform matrix X into matrix Y such that Y has identity covariance matrix. This is straightforward enough, but in case you are too lazy to write such a function here’s how you can do it in Matlab: You can read

    Read more

    May 27, 2011
←Previous Page
1 … 32 33 34 35 36 … 40
Next Page→

Blog at WordPress.com.

 

Loading Comments...
 

    • Subscribe Subscribed
      • xcorr: AI & neuro
      • Join 527 other subscribers
      • Already have a WordPress.com account? Log in now.
      • xcorr: AI & neuro
      • Subscribe Subscribed
      • Sign up
      • Log in
      • Report this content
      • View site in Reader
      • Manage subscriptions
      • Collapse this bar