Package DSP.filter.iir

Examples of DSP.filter.iir.Complex.times()


  public Complex evaluate( Complex c ) {
   
    Complex retval = new Complex( a[order] );
   
    for ( int i = order-1;  i >= 0;  i-- ) {
      retval = retval.times(c).plus( a[i] );
    }
   
    return retval;
  }
 
View Full Code Here


   
    Complex c = Complex.exp( new Complex(0.0, -Omega ) );
   
    Complex N = new Complex( a[order]*order );
    for ( int i = order-1;  i >= 0;  i-- ) {
      N = N.times(c).plus( a[i]*i );
    }
   
    Complex D = evaluate( c );

    return ( N.over(D) ).real();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.