help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Set value to a custom significance. (no display)


From: John W. Eaton
Subject: RE: Set value to a custom significance. (no display)
Date: Tue, 2 Mar 2010 09:04:09 -0500

On  2-Mar-2010, Joris Spekreijse wrote:

| We are trying two things for our project to convert a MatLab formula into C 
for an MPU.
| First thing is to see what happens when we use less bits and different fixed 
point settings for value in our formula. I am going to solve this with some old 
fashioned bit shifting.
| Secondly we have strong (do not know the English term) significance. When a 
measurement device has a significance of 3 it is wrong to have an answer with a 
significance of 4 and use this result in further calculations. In that case the 
rounding trick should do his work.

If you want to use fixed-point arithmetic, then you might want to look
at the "fixed" package in Octave Forge:

  http://octave.sourceforge.net/packages.php

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]