Truncating Decimal points of an array
- From: "Uli Schwabe" <xeocube@xxxxxxxxx>
- Date: Sun, 23 Oct 2005 12:46:52 -0400
I have imported some data into matlab that contains an accuracy that
is way too high for me to accurately search for a specific value
inside that variable.
For example, I am trying to find certain points in the datastring and
figuring out in what position it is inside the array. (I am searching
for ~23, data in the array is 23.0040209243929292 thus it cannot find
it)
Is there a way to truncate the values down to a certain accuracy (say
4 decimal points?)
Strread seems to do what I want, but only for a string and not an
imported array.
Thanks!
-uli
.
- Follow-Ups:
- Re: Truncating Decimal points of an array
- From: Stefan
- Re: Truncating Decimal points of an array
- From: Roger Stafford
- Re: Truncating Decimal points of an array
- Prev by Date: Re: functions don't see eachother
- Next by Date: Re: Terminating a while loop from keyboard and con
- Previous by thread: functions don't see eachother
- Next by thread: Re: Truncating Decimal points of an array
- Index(es):
Relevant Pages
|