skipformat
Skips formatting output when displaying matrices of size greater than or equal to size, resulting in faster printing for large data sets as all elements are printed as floats.
Syntax
skipformat(size)
Inputs
- size
- Matrix size, which causes the formatting of elements to be skipped when printing. By default, the value of size is set to 10,000. Any value less than 1 will result in the matrix elements being formatted before printing.
Example
skipformat(10);
rand(15)
% Entire matrix will be in float format
ans = [Matrix] 15 x 15 Rows[11:15] Columns[1:14]
0.64589 0.39278 0.97862 0.75862 0.61764 0.09928 0.57020 0.41437 0.36873 0.05571 0.31798 0.92116 0.18319 0.28848
0.38438 0.92560 0.47361 0.52185 0.14967 0.06023 0.03843 0.46631 0.66253 0.60485 0.88048 0.57595 0.39782 0.96219
0.43759 0.83608 0.79916 0.10591 0.61210 0.96981 0.43860 0.47470 0.82099 0.45116 0.41426 0.08311 0.58651 0.43329
0.29753 0.07104 0.80091 0.41466 0.22232 0.66677 0.63427 0.24443 0.01357 0.73926 0.91824 0.92930 0.55282 0.24875
0.89177 0.33740 0.46148 0.47360 0.61693 0.65314 0.98837 0.62351 0.09710 0.01999 0.06415 0.27772 0.02011 0.75611
ans = [Matrix] 15 x 15 Rows[11:15] Column[15]
0.44713
0.44920
0.84641
0.97857
0.69948