image thumbnail

updated 7 months ago

Fixed Point Algorithm by James Adams

Calculates the fixed point of a function. (fixed point, algorithm, function)

FixedPoint_Algorithm_JA

image thumbnail

updated 1 year ago

Solve Nonlinear Equation Numerically by Hassan Najjar

Four different methods for numerically solving nonlinear equations. (nonlinear equations, solve, newtonraphson)

bisect( funch, a, b, tol )

fixedpt( f, g, a, b, tol )

newton( func,dfunc,a,tol )

image thumbnail

updated 1 year ago

Two's Complement Binary Strings by Drew Compston

Convert between binary fixed point two's complement strings and decimal numbers. (binary, twos complement, fixed point)

dec2fix(x, nfracbits, nbits)

dec2twos(x, nbits)

fix2dec(t)

image thumbnail

updated almost 4 years ago

Simulink Fixed-Point Tutorial R2008a (Japanese) demo files by Yorihisa Yamamoto

"SL Fixed-Point Tutorial R2008a (Japanese)" demo files. 「Simulink 固定小数点チュートリアル (R2008a)」の例題ファイルです。 (control design, embedded code, simulink)

data_motor_pid_control.m

fixpt_autoscaling

fixpt_numerictype

image thumbnail

updated almost 4 years ago

Fixed-Point Toolbox Tutorial (Japanese) demo files by Yorihisa Yamamoto

"Fixed-Point Toolbox Tutorial (Japanese)" demo files. 「Fixed-Point Toolbox チュートリアル」の例題ファイルです。 (matlab, simulink, fixed point)

cal_numerictype.m

eml_myfilter_fi.m

myfilter_dbl.m

image thumbnail

updated almost 4 years ago

Simulink Fixed-Point Tutorial R2006b (Japanese) demo files by Yorihisa Yamamoto

"SL Fixed-Point Tutorial" demo files. 「Simulink Fixed Point/RTW-ECを用いた固定小数点コード生成 チュートリアル」の例題ファイルです。 (control design, embedded code, simulink)

change_datatype.m

data_dcmotor.m

data_pid_fp.m

image thumbnail

updated almost 4 years ago

Fixed Point Method by T. R.

The Fixed Point Method is applied to a given function. (numerical analysis, fixed point)

fixedpoint(g, x0, tol, nmax, L)

image thumbnail

updated 4 years ago

Spline based function approximation for HDL synthesis by Sean Little

This is a suite of simple utilities that allow for efficient approximation of complex functions in a (hdl, hdl coder, spline)

[x,pp]=create_lut3(fcn, rng, tol)

example

nearestpoint(x,y,m) ;

image thumbnail

updated 5 years ago

Fixed Point Radix-4 FFT by Mike Donovan

These functions compute a fixed point radix-4 FFT.You can generate C code from this m-code. (communications, fixed point, signla processing)

Radix-4 FFT Test Script

plotPYYf(sf,Fs)

radix4FFT1_Float(s)

image thumbnail

updated 5 years ago

fixed point itration by AHHA

fixed point iteration for numerical method (fixed point, numerical method, numerical)

fixed.m

image thumbnail

updated 7 years ago

Binary to Decimal by Moatasem Chehaiber

Converts binary data of any format in a string to floating point (wireless, fixed point, binary)

bin2Q(x,intsize)

readtxtfiles.m

image thumbnail

updated 7 years ago

GUIPlotTool by Nitin Skandan

This simple tool gives you better way to present the results of model simulation. (simulink, mat file, plot tool)

ResultsViewer(varargin)

exampleMdl

image thumbnail

updated 8 years ago

Canonical Signed Digits by Patrick Moran

Generates a CSD representation of a floating point number. (filter design, filter analysis, canonical signed digi...)

[digits,pos,neg,err]=csdigit(num,range,resolution)

Contact us