Fixed Point
An essential step in embedded software development, floating- to fixed-point conversion can be tedious, labor-intensive, and error-prone. System engineers frequently design algorithms in floating-point math, usually double-precision. This format represents the ideal algorithm behavior but takes...
Platforms: Matlab
License: Freeware | Size: 491.52 KB | Download (48): Converting Models from Floating Point to Fixed Point for Production Code Generation Download |
This Python module provides basic facilities for mathematics on fixed-point numbers. The number of fractional binary digits is tunable, allowing near-arbitrary precision arithmetic. Arithmetic & functions such as sqrt, exp, log, sin & cos are available.
Platforms: Windows, Mac, Linux
License: Freeware | Size: 18.27 KB | Download (44): Simple Python Fixed-Point Module Download |
Functions accompanying MATLAB News & Notes article "Fixed-point Signal Processing: Getting Started" by Darel A. Linebarger and Thomas A. Bryan, 2004. The functions include an FIR filter in M that can be run in fixed-point and floating-point.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): Fixed-point signal processing in M Download |
The effect of fixed-point arithmetic in 16-bits PID controller C routineson the closed-loop precision is shown in this Simulink model.Two Simulink blocks that implement single and doubleprecision 16-bits PID C routines are generated with the LCT. The C sourcesare supplied for user modifications...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (54): 16-bits fixed-point PID implementations in C Download |
Demo files used in "Simulink Fixed-Point Tutorial R2008a (Japanese)".
Platforms: Matlab
License: Freeware | Size: 143.36 KB | Download (46): Simulink Fixed-Point Tutorial R2008a (Japanese) demo files Download |
API for User Written Fixed-Point and Floating-Point S-Functions.A supplement to Release 13 of Simulink and Fixed-Point Blockset.Version 0.9.0 Beta 1January 8, 2003Feedback on this beta should be sent toAndy BartlettThe MathWorks, Inc.3 Apple HillNatick, MA 01760Andy_Bartlett@mathworks.comThis zip...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 307.2 KB | Download (39): API for User Written Fixed-Point SFunctions Download |
There are challenges to face when programming in fixed-point code manually. Similarly, care is required in automatically generating fixed-point code. The developer must pay attention to design tradeoffs, namely: accuracy, efficiency, ROM, RAM, execution time, and readability. The MathWorks tools...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 819.2 KB | Download (43): Tips for Fixed-Point Modeling and Code Generation for Simulink 6 Download |
There are challenges to face when programming in fixed-point code manually. Similarly, care is required in automatically generating fixed-point code. The developer must pay attention to design tradeoffs, namely: accuracy, efficiency, ROM, RAM, execution time, and readability.The MathWorks tools...
Platforms: Matlab
License: Freeware | Size: 1.5 MB | Download (46): Tips for Fixed-Point Modeling and Code Generation for Simulink 7 (R2008a) Download |
Here i share my experiences working with fixed point modelling of real time embedded control systems as well as porting the same to ECU. A brief picture of background of fixed point coding and modelling is also given. This document will serve as a sound guide for beginners who would like to...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 40.96 KB | Download (39): Fixed point modelling Download |
The Fixed Point Method is applied to a given function.Convergence conditions are as followed: f(xa)=0 (=) xa=g(xa) => xa[n+1]=g(xn), n=0,1,..Error majoration: |e(xk)|
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Fixed Point Method Download |
In this implementation of tracking a ball, we will track a live ball using Kalman filter. The tracking will switch to autorun mode when the sight of the ball is lost and Kalman will estimate the motion based on it's previous statesThere are two models. One model is a simple simulation of the...
Platforms: Matlab
License: Freeware | Size: 307.2 KB | Download (44): Kalman filter(fixed point version) Download |
This simulation illustrates the effects of the fixed-pointcomputations on the closed-loop precision for a 16-bits PID controller.The rounding mode, the point where the truncations take place and theformat width for the internal variable have a significant action on theclosed-loop permanent...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): 16-bits fixed-point PID controller Download |
DFT plays important role in DSP and used in wide variety of applications like correlation and spectral analysis. Understanding quantization errors in its computation is an important aspect of its design either for s/w or h/w implementation.A complex DFT of N points has N complex (4N real)...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): A 32 point FFT in embedded MATLAB using fixed point arithmetic Download |
This demo consists of a m-file script (fixed_point_atan2_using_cordic.m) and a m-file function (atan2_fixpt.m). The script contains a step-by-step explanation of how a four quadrant arctan can be calculated using a CORDIC (COordinate Rotation DIgital Computer) algorithm. The first part shows the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Fixed-Point ATAN2 using CORDIC Download |
Radix-4 FFT Test ScriptThis file runs three versions of a Radix-4 FFT written in MATLAB: radix4FFT1_Float.m computes a radix-4 FFT for floating point data types radix4FFT2_FixPt.m computes a fixed point radix-4 FFT (requires Fixed Point Toolbox) radix4FFT3_FixPtEML.m is an Embedded MATLAB version...
Platforms: Matlab
License: Freeware | Size: 61.44 KB | Download (48): Fixed Point Radix-4 FFT Download |
The attached zip file contains the slides, MATLAB M-files, and Simulink models that were used in the Fixed-Point Programming in MATLAB webinar from December 8, 2005 by Tom Bryan. The recorded webinar is linked off of the Fixed-Point Toolbox web page
Platforms: Matlab
License: Freeware | Size: 1.63 MB | Download (46): Fixed-Point Programming in MATLAB Webinar Materials Download |
Run demo file included.Double to fixed-point conversion with setting options like word length, signed/unsigned, automatic or manual scaling, guard bits...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Fixed-point value Download |
A function for launching a bundle of rays from a fixed point in a propagation region with a specified refractive index. Documentation with examples are provided to illustrate radion beam propagation and propagation in the Earth's atmosphere.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 163.84 KB | Download (46): 3-D Ray Trace Download |
A Fixed-Point Iterative Schema for Error Minimization in k-Sparse DecompositionA a new algorithm to solve the sparse approximation problem over redundant dictionaries based on LiMapS, where the input signal is restricted to be a linear combination of k atoms from a fixed dictionary.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 286.72 KB | Download (43): The k-LiMapS algorithm Download |
Numerical analysis functions that employ the Bisection, Fixed-point, Newton-Raphson, and Muller's methods. Each returns a root for a given function, and optionally a iteration table.*** Symbolic Toolbox is NOT REQUIRED ***
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Numerical Analysis Functions 1 Download |