Code covered by the BSD License
-
dsdemo4fig()
Window layout for the dsdemo4() function.
-
1;
end
end
-
DocumentNTF(arg1,osr,f0,quadr...
axis_handle = DocumentNTF(ntf|ABCD|mod_struct,osr=64,f0=0,quadrature=0) Plot the NTF's poles and zeros as well as its frequency-response
-
ESLselect(v,sy,dw,df)
sv = ESLselect(v,sy,dw,df) Select the elements of a multi-element
-
H=evalMixedTF(tf,f,df)
H=evalMixedTF(tf,f)
-
H=evalTFP(Hs,Hz,f)
-
LCObj(x,param,dbg)
LCObj Compute the objective function
-
LCObj1(x,param,max_radius,dbg)
function [objective,constraints] = LCObj1(x,param,max_radius,dbg)
-
LCoptparam2tf(x,param)
LCoptparam2tf(...) Convert optimization parameters to transfer functions.
-
LCplotTF(H,L0,param)
LCplotTF(H,L0,param)
-
NTF=clans(order,OSR,Q,rmax,op...
-
NTF=clans5(order,OSR,Q,rmax,o...
Version of clans for MATLAB 5 or lower
-
NTF=clans6(order,OSR,Q,rmax,o...
Version of clans for MATLAB >=6
-
PlotExampleSpectrum(mod_struc...
PlotExampleSpectrum(ntf|mod_struct,M=1,osr=64,f0=0,quadrature=0)
-
[ABCDs,umax,S]=scaleABCD(ABCD...
-
[H,L0,ABCD,k]=LCparam2tf(para...
-
[f,g]=dsclansObj(x,order,OSR,...
Objective function for clans.m
-
[f1,f2,info]=designHBF(fp,del...
-
[f1_saved,f2_saved,info]=desi...
-
[f1_saved,f2_saved,info]=desi...
-
addPIS
Add the PosInvSet subdirectory of the toolbox to the current path
-
axisLabels(range,incr)
function s = axisLabels(range,incr)
-
bilogplot(V,f0,fbin,x,y,fmt)
bilogplot(V,f0,fbin,x,y,fmt) Plot two side-by-side spectra
-
bplogsmooth(X,tbin,f0)
-
bquantize(x,nsd,abstol,reltol)
-
bunquantize(q)
Calculate the value corresponding to a bidirectionally quantized quantity.
-
calculateQTF(ABCDr)
-
calculateSNR(hwfft,f,nsig)
snr = calculateSNR(hwfft,f,nsig=1) Estimate the signal-to-noise ratio,
-
calculateTF(ABCD,k)
-
cancelPZ(zpk1, tol)
zpk2 = cancelPZ(zpk1, tol=1e-6) Cancel zeros/poles in a zpk system
-
changeFig(fontsize,linewidth,...
changeFig(fontsize,linewidth,markersize) Change the settings
-
circ_smooth(x,n)
-
delay(x,n)
-
designLCBP(n,OSR,opt,Hinf,f0,...
-
designLCBP6(n,OSR,opt,Hinf,f0...
Modified designLCBP for use with latest optimization toolbox
-
dotplot(p,fmt)
function dotplot(p,fmt)
-
ds_f1f2(OSR,f0,complex_flag);
-
ds_freq(osr,f0,quadrature)
f = ds_freq(osr=64,f0=0,quadrature=0) Frequency vector suitable for plotting the frequency response of an NTF
-
ds_hann(n)
-
ds_optzeros( n, opt )
-
ds_quantize(y,n)
-
ds_synNTFobj1(x,p,osr,f0)
y=ds_synNTFobj1(x,p,osr,f0) Objective function for synthesizeNTF()
-
dsclansNTF(x,order,rmax,Hz)
Conversion of clans parameters into a NTF.
-
dscut(p1,y1,p2,y2)
-
dsdemo4(action)
A GUI-based demonstration of delta-sigma with sound.
-
dsexample1
Design example for a lowpass modulator.
-
dsexample2
Design example for a bandpass modulator.
-
dsexample3
Design example for a continuous-time lowpass DS ADC
-
dsexample4
Example quadrature bandpass modulator
-
dsexpand(s,c,k,n,o)
-
dsisPlot(dbg,itn,order,x,s,e,...
Show some pretty pictures
-
dsmap(u,ABCD,nlev,x,e,v)
-
dssplit2d(u,ABCD,p)
-
edgeplot(e,s,fmt)
function edgeplot(e,s,fmt) Plot edges e with format fmt
-
evalF0(f1,z,phi)
F0 = evalF0(f1,z,phi) Calculate the values of the F0 (prototype) filter
-
evalF1(f1,z,phi)
F1 = evalF1(f1,z,phi) Calculate the values of the F1 filter
-
evalRPoly(roots,x,k)
-
evalTF(tf,z)
-
exampleHBF(n)
Coefficients from toolbox v2.0 documentation
-
find2dPIS(u,ABCD,options)
function s = find2dPIS(u,ABCD,options)
-
findPIS(u,ABCD,nlev,options)
-
findPattern(N,OSR,NTF,ftest,A...
[data snr] = findPattern(N=1024,OSR=64,NTF,ftest,Atest,f0,nlev,quadrature,debug)
-
flattenStruct(s)
flattenStruct(s) Puts each field of s into the current workspace.
-
frespF1(f1,f,phi)
frespF1(f1,f) Plot/calculate the frequency response of the F1 filter
-
frespHBF(f,f1,f2,phi,fp,msg)
-
hull2d(p)
-
i=outsideConvex(x,n,o,tol)
function i=outsideConvex(x,n,o,tol<0>). Determine which points are outside
-
impL1(arg1,n)
-
infnorm(H)
[Hinf,fmax] = infnorm(H) Find the infinity norm of a z-domain transfer function.
-
l1norm(H)
h1 = l1norm(H) Compute the l1-norm of a z-domain transfer function.
-
logsmooth(X,inBin,nbin,n)
-
lollipop(x,y,color,lw,ybot)
lollipop(x,y,color,lw,ybot) Plot lollipops (o's and sticks)
-
mapABCD(ABCD,form)
-
mapCtoD(sys_c,t,f0)
-
mapQtoR(Z)
A = mapQtoR(Z) Convert a quadrature matrix into its real equivalent.
-
mapR2Q( ABCDr )
-
mod1()
-
mod2()
-
outconvex2d(x,p)
function out = outconvex2d(x,p)
-
padb(x, n, val)
-
padl(x, n, val)
-
padr(x, n, val)
-
padt(x, n, val)
-
partitionABCD(ABCD, m);
-
peakSNR(snr,amp)
[peak_snr,peak_amp] = peakSNR(snr,amp) Find the snr peak by fitting
-
plotPZ(H,color,markersize,lis...
function plotPZ(H,color='b',markersize=5,list=0)
-
plotSpectrum(X,fin,fmt)
plotSpectrum(X,fin,fmt) Plot a smoothed spectrum
-
plotUsave(sv)
Plot the elemet usage for a multi-elemet DAC
-
polyplot(p,fmt)
function polyplot(p,fmt)
-
predictSNR(ntf,R,amp,f0)
-
printmif(file,size,font,fig)
printmif(file,size,font,fig) Print graph to an Adobe Illustrator file
-
pulse(S,tp,dt,tfinal,nosum)
-
qhull(points,str)
-
realizeNTF(ntf,form,stf)
-
realizeNTF_ct( ntf, form, tda...
-
realizeQNTF(ntf,form,rot,bn)
-
rms(x,no_dc)
-
rmsGain(H,f1,f2,N)
-
selectQESL(v,sy)
-
simulateDSM(u,arg2,nlev,x0)
-
simulateESL(v,mtf,M,dw,sx0)
-
simulateHBF(x,f1,f2,mode)
y = simulateHBF(x,f1,f2,mode=0) Simulate a Saramaki half-band filter.
-
simulateQDSM(u,arg2,nlev,x0)
-
simulateQESL(v,mtf,M,sx0)
-
simulateQSNR(ntf,R,amp,f0,nle...
-
simulateSNR(arg1,osr,amp,f0,n...
-
sinc_decimate(x,m,r)
-
stuffABCD(a,g,b,c,form)
-
synthesizeChebyshevNTF(order,...
ntf = synthesizeChebyshevNTF(order=3,OSR=64,opt,H_inf=1.5,f0=0)
-
synthesizeNTF(order,osr,opt,H...
-
synthesizeNTF0(order,OSR,opt,...
Determine the zeros.
-
synthesizeNTF1(order,osr,opt,...
Determine the zeros.
-
synthesizeQNTF(order,OSR,f0,N...
-
thermometer(x,m)
-
un=uvar(u,N);
-
undbp(x)
-
undbv(x)
-
v=undbm(p,z)
-
y=dbm(v,R)
-
y=dbp(x)
-
y=dbv(x)
-
y=leftof(p,a,b)
function y=leftof(p,a,b)
-
y=nabsH(w,H)
nabsH computes the negative of the absolute value of H
-
y=sgn(x)
-
yRange(1):dy:yRange(2);
s...
-
zinc(f,m,n)
mag = zinc(f,m=64,n=1) Calculate the magnitude response
-
Contents.m
-
dsdemo1.m
-
dsdemo2.m
-
dsdemo3.m
-
dsdemo5.m
-
dsdemo6.m
-
dsdemo7.m
-
dsdemo8.m
-
dsistest.m
-
View all files
|
|
| File Information |
| Description |
The Delta-Sigma Toolbox includes nearly 100 functions which support NTF synthesis, modulator simulation (from an NTF or a structure), realization, dynamic range scaling, SNR estimation and more. The toolbox is well-documented via the accompanying DSToolbox.pdf manual.
For further information regarding the Toolbox and Delta-Sigma modulators in general consider purchasing "Understanding Delta-Sigma Data Converters" by Schreier and Temes (ISBN 0-471-46585-2). |
| Acknowledgements |
This submission has inspired the following:
Data Weighted Averaging for Simulink, Delta Sigma converter spurious tone predictor
|
| Required Products |
Control System Toolbox
Signal Processing Toolbox
|
| MATLAB release |
MATLAB 7 (R14)
|
| Other requirements |
Users should compile the simulateDSM.c and simulateESL.c files to speed up simulations. |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (100) |
| 07 Dec 2001 |
June sh
|
|
|
| 01 Jan 2002 |
Anas Hamoui
|
|
|
| 03 Dec 2002 |
Paul Muller
|
|
|
| 07 Jan 2003 |
Leo Montreuil
|
|
|
| 07 Jan 2003 |
Gary Mai
|
|
|
| 10 Jan 2003 |
Mark Brunner
|
|
|
| 11 Feb 2003 |
Esmaeil Najafiaghdam
|
|
|
| 14 Feb 2003 |
guillaume de cremoux
|
|
|
| 05 Jun 2003 |
Sumant Bapat
|
|
|
| 24 Sep 2003 |
Lin Chuck
|
|
|
| 25 Jan 2004 |
Mohammad Yavari
|
|
|
| 05 Feb 2004 |
kareem abdallah
|
|
|
| 11 Feb 2004 |
Fakhs Huss
|
|
|
| 13 Apr 2004 |
Naughty Boy
|
|
|
| 07 Jun 2004 |
Mehdi Banihashemi
|
|
|
| 14 Jun 2004 |
OLL Tsai
|
|
|
| 25 Jul 2004 |
ken vin kuo
|
|
|
| 23 Aug 2004 |
M. Praveen
|
|
|
| 04 Jan 2005 |
Acuti Yang
|
|
|
| 24 Jan 2005 |
C. HO.
|
|
|
| 26 Jan 2005 |
C. HO
|
|
|
| 28 Jun 2005 |
z.z. dong
|
|
|
| 28 Jun 2005 |
manu suryavansh
|
|
|
| 04 Jul 2005 |
Leon hong
|
|
|
| 08 Jul 2005 |
Zejian cai
|
|
|
| 08 Jul 2005 |
Zejian cai
|
|
|
| 19 Aug 2005 |
Mucahit Kozak
|
|
|
| 19 Aug 2005 |
jeffrey zhu
|
|
|
| 27 Sep 2005 |
jason Fong
|
|
|
| 02 Oct 2005 |
current mirror
|
|
|
| 28 Oct 2005 |
David Kiriev
|
|
|
| 11 Nov 2005 |
Marshnil Dave
|
|
|
| 11 Nov 2005 |
Marshnil Dave
|
|
|
| 18 Apr 2006 |
mehmet ozcelik
|
|
|
| 05 Jun 2006 |
Jacob J
|
|
|
| 02 Aug 2006 |
xin xn
|
|
|
| 15 Aug 2006 |
noha zaki
|
|
|
| 28 Aug 2006 |
Oscar Gaete
|
|
|
| 31 Aug 2006 |
mehrdad yadollahi
|
|
|
| 31 Aug 2006 |
mehrdad yadollahi
|
|
|
| 08 Oct 2006 |
Wayne Huang
|
|
|
| 11 Oct 2006 |
Bingxin Li
|
|
|
| 03 Nov 2006 |
Song-Bok Kim
|
|
|
| 05 Nov 2006 |
Song-Bok Kim
|
|
|
| 02 Jan 2007 |
Steven Lin
|
|
|
| 24 Mar 2007 |
Doreen wang
|
|
|
| 25 May 2007 |
melika roknsharifi
|
|
|
| 12 Aug 2007 |
Jitendra Das
|
|
|
| 12 Oct 2007 |
mopaditis Aeolus
|
|
|
| 29 Oct 2007 |
Shimon Dahan
|
|
|
| 07 Nov 2007 |
Sushi Taro
|
|
|
| 14 Nov 2007 |
Jhoule Houke
|
|
|
| 22 Nov 2007 |
Luiz Carlos
|
|
|
| 29 Nov 2007 |
HUA Siliang
|
|
|
| 15 Dec 2007 |
Ramesh Singh
|
|
|
| 26 Dec 2007 |
Senthil raja
|
|
|
| 26 Dec 2007 |
Senthil raja
|
|
|
| 02 Jan 2008 |
Yi WANG
|
|
|
| 02 Jan 2008 |
Yi WANG
|
|
|
| 21 Jan 2008 |
preeti chauhan
|
|
|
| 03 Mar 2008 |
shi huan dong
|
|
|
| 05 Mar 2008 |
Sha Xia
|
|
|
| 16 Apr 2008 |
Xiaodong Guo
|
|
|
| 17 Apr 2008 |
swathi y
|
|
|
| 22 Apr 2008 |
di li
|
|
|
| 29 Apr 2008 |
Mareers Samuel
|
|
|
| 13 May 2008 |
Aren aren00
|
|
|
| 04 Jun 2008 |
zhang dongqing
|
|
|
| 04 Jun 2008 |
zhang dongqing
|
|
|
| 29 Jun 2008 |
shifei hu
|
|
|
| 05 Jul 2008 |
Liu qiuliang
|
|
|
| 09 Jul 2008 |
Xu YanFeng
|
|
|
| 23 Jul 2008 |
Lars Sundström
|
|
|
| 29 Aug 2008 |
lu yan
|
|
|
| 29 Sep 2008 |
sandy sandy
|
|
|
| 26 Jan 2009 |
Quan
|
|
|
| 26 Jan 2009 |
Quan
|
|
|
| 06 Feb 2009 |
Ras123 V
|
|
|
| 21 Apr 2009 |
Aztec Wei-Ting
|
|
|
| 18 May 2009 |
Payam
|
|
|
| 16 Sep 2009 |
zhang
|
|
|
| 06 Jan 2010 |
Praveen Kumar
|
|
|
| 07 Jan 2010 |
Vishal Saxena
|
|
|
| 20 Jan 2010 |
Thierry Tambe
|
|
|
| 03 Jun 2010 |
shaohuip ?
|
|
|
| 21 Aug 2010 |
he shiqing
|
|
|
| 25 Aug 2010 |
he shiqing
|
|
|
| 06 Sep 2010 |
yang shisong
|
|
|
| 07 Oct 2010 |
ASH VLSI
|
|
|
| 15 Oct 2010 |
ASH VLSI
|
|
|
| 18 Oct 2010 |
bizet74
|
|
|
| 26 Oct 2010 |
ASH VLSI
|
|
|
| 26 Oct 2010 |
bizet74
|
|
|
| 25 Nov 2010 |
Sridhar
|
|
|
| 27 Mar 2011 |
Mohammad alhawari
|
|
|
| 12 Apr 2011 |
nont none
|
|
|
| 30 May 2011 |
zhang fuquan
|
|
|
| 15 Sep 2011 |
Irfan Chaudhry
|
|
|
| 23 Oct 2011 |
Kevin
|
|
|
| 22 Nov 2011 |
Mike Woodward
|
|
|
| Updates |
|
Mathworks changed the internal representation of the zpk object in
7.3.0.298 (R2006b), and this caused segmentation faults when simulateDSM or simulateESL were called with zpk arguments. These functions have been updated to fix this problem. |
|
modifying description |
| 06 Jan 2003 |
Expanded functionality and updated for Matlab 6. |
| 13 Dec 2004 |
Updated clans.m so that it works with old and new versions of the Optimization Toolbox. Corrected the documentation for designHBF.m |
| 06 Jul 2009 |
Added functions for realizing an NTF with a continuous-time loop filter and for handling quadrature modulators. |
| 29 Dec 2011 |
Incorporated Jeffrey Gealow's improvements which remove restrictions on the tdac argument in realizeNTF_ct and mapCtoD. Values such as [1 3] or [2 3] are now OK. |
|
Contact us at files@mathworks.com