首页| 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次
  • 浏览次数:0次
  • 资源积分: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
  • liqing71718 8分钟前 成为了本站会员

  • 伟国 1小时前 成为了本站会员

  • songy 3小时前 成为了本站会员

  • 纯色幽默 3小时前 成为了本站会员

  • odd? 5小时前 成为了本站会员

  • 52JOY... 11小时前 成为了本站会员

  • Sirius 1天前 成为了本站会员

  • 1天前 成为了本站会员

  • 额ヽ(  ̄д ̄;)ノ 1天前 成为了本站会员

  • xxx 2天前 成为了本站会员

0.174902s