hi i m trying out fixed point modelling via the 'fi' function in matlab. everything seems smooth until i tried to exponent the 'fi' object. error msg: 'function exp is not defined for values of class embedded.fi' applying the exponential function, 'exp', is essiential for my project. anyone knows how to get ard this prob? cheers This message was sent using the Comp.DSP web interface on www.DSPRelated.com
fixed point modelling problem
Started by ●April 6, 2005
Reply by ●April 6, 20052005-04-06
elbib00 wrote:> hi > > i m trying out fixed point modelling via the 'fi' function in matlab. > everything seems smooth until i tried to exponent the 'fi' object. > > error msg: 'function exp is not defined for values of class > embedded.fi' > > applying the exponential function, 'exp', is essiential for my > project. anyone knows how to get ard this prob? > > cheers > > This message was sent using the Comp.DSP web interface on > www.DSPRelated.comModel the exponential that your fixed-point project will be using, and use it with the class embedded.fi. Or cast the embedded.fi object to floating point and do an exponent on that -- but only if it accurately models what your embedded software's going to do. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com
Reply by ●April 11, 20052005-04-11