MATLAB: Quickly sanitize a string array for use as

For my genomics project, I’ve been generating a lot of MATLAB tables where each column represents variants at a specific gene loci. The problem is, many gene names do not conform to MATLAB& …

Interactive analysis of covariance (ANCOVA)

MATLAB makes it easy to perform analysis of covariance (ANCOVA) using an interactive tool. All it takes to test-drive this tool is a one-liner… load carsmall; aoctool(Weight, MPG, Model_Year); …

Find correlated neural activity that is offset-delayed

In experiments measuring neural network activity, such as in studies using GCaMP, it’s often of interest to find neurons that have related activity patterns. Finding neurons that are …

Hot Hands, a Paradox, and one reason why it’s

The ‘Hot Hand’ phenomenon is a popular belief (applicable to many domains from sports to gambling) that players who were successful in their most recent attempt(s) have increased odds of …

Thoughts on Special Relativity

If I pursue a beam of light with the velocity c (velocity of light in a vacuum), I should observe such a beam of light as a spatially oscillatory electromagnetic field at rest.  However, there seems …

Password requirements are getting ridiculous.

Please enter a secure password orangesocks92 Your password is not secure enough. Fair enough, let’s get some caps in there: OrangeSocks92 Your password is not secure enough. No problem. Let& …