Hi All, Please let me know if it is possible to control precision in Matlab. I learnt that, by default, Matlab uses double precision for all arithmetic operations. My application requires me to restrict digital filter data (input) to only about 10 bits. Thanks, BSG |
|
Precision in Matlab
Started by ●January 6, 2003
Reply by ●January 7, 20032003-01-07
Hi Girish, Type help format and verify u may find some clue. good luck,sree. Girish B S <> wrote:Hi All, Please let me know if it is possible to control precision in Matlab. I learnt that, by default, Matlab uses double precision for all arithmetic operations. My application requires me to restrict digital filter data (input) to only about 10 bits. Thanks, BSG _____________________________________ Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. _____________________________________ About this discussion group: To Join: To Post: To Leave: Archives: http://www.yahoogroups.com/group/matlab More DSP-Related Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/ Catch all the cricket action. Download Yahoo! Score tracker |
Reply by ●January 7, 20032003-01-07
Did you check the filterdesign toolbox quantization functions and quantized filters? I think fixed point blockset in simulink is also suited for these kind of operations and analysis. Navan --- Girish B S <> wrote: > Hi All, > > Please let me know if it is possible to control > precision in > Matlab. I learnt that, by default, Matlab uses > double precision for all > arithmetic operations. My application requires me to > restrict digital > filter data (input) to only about 10 bits. > > Thanks, > > BSG __________________________________________________ |