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.

how to simulate this filter?

Status
Not open for further replies.

mhytr

Member level 3
Joined
Dec 14, 2004
Messages
57
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
558
The coefficients of this signal is controlled by a variable parameter,the coefficients are calculated according to the parameter everytime and then the output is produced using the updated coefficients.
The question is how to simulate this kind of filter,for i can not define a transfer function in simulink/matlab
 

why you can't define a transfer function in matlab?

data_sample_out_1 = filter(coeff,data_sample_in_1);
coeff = func(coeff, data_sample_out_1);
data_sample_out_2 = filter(coeff,data_sample_in_2);
coeff = func(coeff, data_sample_out_2);
data_sample_out_3 = filter(coeff,data_sample_in_3);
...

you can write this in cycle also.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top