I need your kind attention and help for my problem. I have to design FIR filter using genetic algorithm in Matlab,kindly help me to design such filter. Basically the problem is optimization of the filter coefficients using GA. In this the objective function 'error=weight(desired-actual)' is used. We have to minimize this using GA. How can I make a code for this function.