To see the function codes Click Here
To see the makefile Click Here
To see the global definitions Click Here
To see the input Click Here
To see the output Click Here
To go back to the main menu Click
Here
To go back to the Webhouse Click Here
Here
#include "protos.h" main() { int i,n,r,l; real k,fp,fs; real e_freq[100],h_samp[100]; printf("Enter the number of coefficients (n)\n"); scanf("%d",&n); printf("Enter the Number of approximating functions (r)\n"); scanf("%d",&r); printf("Enter the grid density (L)\n"); scanf("%d",&l); printf("Enter the Ripple Ratio\n"); scanf("%lf",&k); printf("Enter the Passband Frequency\n"); scanf("%lf",&fp); printf("Enter the Stopband Frequency\n"); scanf("%lf",&fs); remez(n,r,l,k,fp,fs,e_freq,h_samp); printf("COEFFICIENTS\n"); printf("------------\n\n"); for (i=0;i