I found many information in this thesis "Algorithms for the Constrained Design of Digital Filters with Arbitrary Magnitude and Phase Responses",i want to understand it.
This question is a continuation of a previous question(Complex Least Squares Approximation).
$$H(e^{j\omega})=\sum_{n=0}^{N-1}h[n]e^{-jn\omega}=\mathbf{c}^H(\omega)\cdot \mathbf{h}\tag{1}$$
I want to approximate (1) by the following desired frequency response:
$$D(\omega)=M(\omega)e^{jP(\omega)}\tag{2}$$
My problem with this specifications :
Frequency domain specification is not symmetrical (linear phase filter with not symmetric impulse response),with order of filter and constant group delay, constant weighting function .
1-Before to start the design filter, must be know the problem is linear or no,does this have relation by 'h'?
In the case of FIR filters, we formulate the design problem using the complex least squares .The passband error function is
$$E(\mathbf{h})=\int_{\omega_1}^{\omega_2}| H(e^{j\omega})-D(e^{j\omega})|^2d\omega \tag{3}$$
How can i solve the integral in this case?or what is the steps which allow me to formulate an equation by least squares?
In complex leastsquares there is continuous and discrete approximation .However, often these integrals cannot be solved analytically.In this case one either has to resort to numerical integration or formulate the problem a priori as a discrete approximation problem. What is the better for (3)?use the continuous or discrete approximation?