Remember
Register
All Activity
Tags
Users
Ask a Question
About Boostr
Advertise on boostr.in
Jobs
Organizational Research By
Surprising Reserch Topic
limiting the number of decimal points taken by matlab for calculation using -'math,random,wolfram-mathematica,signal-processing,digits'
limiting the number of decimal points taken by matlab for calculation Â using -'math,random,wolfram-mathematica,signal-processing,digits'
I was checking the similarity of two random matrices by using two methods ,after addition, sum of one elements of first matrix comes as .7095 Â and same .7095 for Â second matrix matrix but when tried to find the difference in sum ,instead of zero it was giving a value very close to zero .Later I checked in work space and find out that first number is actually 0.709485632903040 and the second is Â 0.709485632903037. I want to limit the calculation only for 4 or 5 digits,I had used digits(4) but it is not working . I want matlab to do calculation in a precision up to 4 decimal places only(not for display,calculation inside matlab) ,Is there is a way to do that??
Â Â Â Â
math
random
wolfram-mathematica
signal-processing
digits
asked
Sep 7, 2015
by
rajesh
Please
log in
or
register
to add a comment.
0
votes
7
views
Related Hot Questions
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
...