kollurulp
Mechanical
- Apr 2, 2004
- 12
Hi
I need to roung the values in a matrix for example i have a vector A = [0.151 0.155 1.12 1.17 2.25 2.31] and tolerance is 0.05. then i should get the result as
B = [0.155 0.155 1.17 1.17 2.25 2.31]. So i must be able to round the values to the max or min which falls in the range of 0.05. please let me know if there is some function or there is any other way round to get this.
Thanks in advance
Prasanna
I need to roung the values in a matrix for example i have a vector A = [0.151 0.155 1.12 1.17 2.25 2.31] and tolerance is 0.05. then i should get the result as
B = [0.155 0.155 1.17 1.17 2.25 2.31]. So i must be able to round the values to the max or min which falls in the range of 0.05. please let me know if there is some function or there is any other way round to get this.
Thanks in advance
Prasanna