Archive for May 20th, 2008
Daily Archive
Tuesday, May 20th, 2008
Non-recursive MATLAB Code for Finding Positive/Negative/Zero Matrix Elements and Their Bit Masks
MATLAB (the scientific computing software) has a lot of built-in functions for doing various matrix operations quickly without using loops (for, while, etc.). When you’re computing vast amounts of data, this can save a lot of time as each loop iteration eats compute cycles.
Today I needed a function that returned only the positive elements of a [...]
