作者acircle (acircle)
看板MATLAB
标题[讨论] matlab significant figures
时间Wed Mar 14 17:02:23 2012
How to use matlab to round A matrix to two significant figures.
A= [ 0.9499 0.3122 -0.0131;
-0.3117 0.9497 0.0284;
0.0213 -0.0229 0.9995]
round to
A= [0.95 0.31 -0.013;
-0.31 0.95 0.028;
0.021 -0.023 1.00]
Thanks
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 24.11.35.58