problem in implementing coefficients in the design of low pass filter

Status
Not open for further replies.

mahak walia

Newbie level 1
Joined
Jul 7, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
11
Dear Sir,

I am doing thesis in optimization of low pass filter using particle swarm optimization. Desigining and optimization is done in matlab. I have write the matlab code for the simple designing of low pass filter that is available in the attachment. In the 4-5 line of matlab code, i want to implement the optimized coefficients from the particle swarm optimization which is as (0.017693073092366, 0.037310769242978,0.036885178895610 0.013348569973212,
-0.029767990150255,-0.061215622427887,-0.043643634858091,0.031730490102291,0.151422236894432,0.253795318850446,0.300170190336795,0.253795318850446,0.151422236894432,0.031730490102291,-0.043643634858091,-0.061215622427887,-0.029767990150255,0.013348569973212,0.036885178895610,0.037310769242978,0.017693073092366). But i have no idea about how to implement these coefficients in the design of low pass filter. Please give me a idea to solve this problem. Please reply as soon as possible.

Thank you
 

Attachments

  • filter.m.zip
    407 bytes · Views: 51

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…