question regarding filter design using particle swarm optimization algorithm?

I am doing my thesis work on filter design using particle swarm optimization algorithm.
step1. Initialization of filter coefficients.
step2. calculation of fitness(error) function for each filter coefficients.
here filter function i am using is
J=∑_(ww_p)abs[abs(|H_d (w)|-1)-δ_p ] +∑_(ww_s)abs[abs(|H_d (w)|-δ_p )]
please give me some idea that how to calculate the error function of each filter coefficient in matlab code.

답변 (1개)

Harmandeep Bains
Harmandeep Bains 2018년 1월 16일
I also want the answer on same question. Someone plz answer it.

카테고리

태그

질문:

2016년 4월 2일

답변:

2018년 1월 16일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by