Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

A Problem about using matlab toolbox "delsig" to d

Status
Not open for further replies.

fatcat1205

Newbie level 6
Joined
Sep 14, 2007
Messages
12
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,283
Activity points
1,387
Hi, everybody. I am using matlab toolbox "delsig" to do the system design of a second order ADC.

In the "delsig" toolbox, function " realizeNTF ( ntf, form, stf ) " can set the coefficients for a particular modulator topology. It works perfectly with default input "stf=1", but when I set the stf has the same poles as ntf, Matlab gives me an error message for running this function. Did anybody meet the same problem, and has a solution. Thanks.

The matlab code is shown below:
************************
OSR=128; %over sampling rate

order =2; %the order of SDM

ntf0=synthesizeNTF(order,OSR,1); %create the optimized ntf.
stf0=ntf0; %copy the ntf to stf, so that they will have the same poles.
stf0.z=[]; %set the numerator of stf to 1.

form='CIFB';
[a,g,b,c]=realizeNTF(ntf0,form,stf0);
************************

here is the error message of matlab:
***********************
??? Error using ==> mrdivide
Matrix dimensions must agree.

Error in ==> realizeNTF at 327
b = real(x/A);

Error in ==> Test_7755_NTF_Cap2 at 10
[a,g,b,c]=realizeNTF(ntf0,form,stf0);
***********************

I downloaded the "delsig" toolbox from:
**broken link removed**
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top