首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Matlab > his little function rounds a number (or the elements of a vector ot matrix) towa...

his little function rounds a number (or the elements of a vector ot matrix) towa...

  • 资源大小:2.05 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 其他项目 matlab

资 源 简 介

his little function rounds a number (or the elements of a vector ot matrix) towards the nearest number with N significant digits. Examples: roundsd(0.012345,3) returns 0.0123 roundsd(12345,2) returns 12000 This is a useful complement to Matlab s ROUND, ROUND10 and ROUNDN (Mapping toolbox), especially when dealing with data with a large variety of order of magnitudes. I was about to upload this file when I found "sd_round.m" by Edward Zechmann (see aknowledgment), which has similar feature (and more). But, because my script is very different in coding (much much shorter), I decided to share it anyway.

文 件 列 表

license.txt
roundsd.m

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP