Tag Archives: Matlab

Reading/Writing to CSV in Matlab

When doing data analysis, many times your input will come in a .csv file, and you'll also want output in a .csv file.  Unfortunately, matlab's built-in csvread/csvwrite functions are exceptionally frustrating to use for anything than pure numeric input/output.  Luckily, … Continue reading

Posted in Uncategorized | Tagged , , , , , | Comments Off on Reading/Writing to CSV in Matlab

Reflections on Grad School: Tools and Tricks I wish I knew all along

I've done it! I've gotten my Ph.D.!  Here's a few things I wish I had done from the very beginning. Enjoy Yourself. You're going to take 4-8 years investing in yourself. This is time you've set aside to educate yourself … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , | Comments Off on Reflections on Grad School: Tools and Tricks I wish I knew all along

28 Best apps for Mac

I recently did a reset on my Mac, and had to re-download all of my favorite Apps.  This was actually a pretty painless process, but I thought a useful post might be all the top apps for Mac I think … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | 1 Comment

Vectorized Binning in Matlab

In fluids modeling, a really easy way to build an model of a scalar (e.g., a polutant or chemical) that is transported by a flowfield is using a particle tracking model. Here, you have millions of finite particles, with x … Continue reading

Posted in Uncategorized | Tagged , , , , | Comments Off on Vectorized Binning in Matlab

Monitoring Progress in Matlab

There are a lot of pre-made codes out there to make progress bars for your code.  A lot of these work fine, but some will slow down your code.  The last thing you want is a progress bar that hampers … Continue reading

Posted in Uncategorized | Tagged , , , , , | Comments Off on Monitoring Progress in Matlab

Matlab Tip: Change the color-scheme to be easier on your eyes

Hey Matlab users, here's a quick tip that I hope is helpful.  If you stare at MATLAB for long hours, espically late at night, then changing your color scheme is a quick an easy way to reduce eye strain (and … Continue reading

Posted in Uncategorized | Tagged , , , , , | 6 Comments

Rounding to Order of Magnitude in Matlab

Knowing what order of magnitude a number is can be really helpful when performing analysis.  I find this especially useful when setting my color-scale using caxis. To find the order of magnitude of a number, denoted as O(10n) of some number A in matlab, use: … Continue reading

Posted in Uncategorized | Tagged , , , , , | 1 Comment

Tool of the Week: Boosting Performance in Mac OSX

Most of these performance improvements are super minor, but when my system is pegged out with a hefty image processing job or particle tracking model: every little bit helps.  These are especially useful if Matlab is running slow! Also, apparently saving 5% of CPU power can … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , | Comments Off on Tool of the Week: Boosting Performance in Mac OSX

Understanding Heart Rate

So I just got a Garmin, mostly to record long rides on strava without killing my phone battery. But I'm also a bit interested in the Heart Rate data craze.  So far, everything i've found on heart rate training seems anecdotal at best: … Continue reading

Posted in Uncategorized | Tagged , , , , , | 7 Comments

MATLAB Tip: Logarithmic color-scales for contour and image plots

A lot of my data ranges orders of magnitude, and can be very hard to depict using standard MATLAB functions like imagesc, contourf, contour, etc.  A quick google search on how to make logarithmic contour plots and logarithmic color-bars yielded some unhelpful results, so I thought I'd give … Continue reading

Posted in Uncategorized | Tagged , , , , | 10 Comments