sd_round stands for "Significant Digits Round".
This program rounds a 2-d matrix of numbers to a specified number of significant digits.
This program support five different styles of rounding the last digit: to the nearest integer, up, down, toward zero, and away from zero.
This program supports real and complex numbers.
The program outputs the rounded array, a cell string of the rounded matrix, the number of digits, to the left and right of the decimal place.
This program is useful for presenting scientific data that requires rounding to a specifid number of significant digits for publication.