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: n=floor( log10(A)); [caption id="attachment_1179" align="alignright" width="300"] Example: Say I want to plot this constrained to some integer value of 10^n....Read More