Package com.nr.sp

Examples of com.nr.sp.Slepian


   

    // Test Slepian
    System.out.println("Testing Slepian");

    Slepian slep=new Slepian(M,3,1);
    for (i=0;i<K;i++) {
      // Generate a data set
      for (j=0;j<N;j++)
        data[j]=10.0*exp(-1.*SQR(j-M)/SQR(N/8))*
          (cos(2.0*pi*32*j/N)+cos(2.0*pi*64*j/N));
      slep.adddataseg(data);    // Note: text should clarify this usage
    }
    spec=slep.spectrum();
    freq=slep.frequencies();

    freq1=32.0/N;
    freq2=64.0/N;

//    System.out.printf(setprecision(6);
View Full Code Here

TOP

Related Classes of com.nr.sp.Slepian

Copyright © 2018 www.massapicom. 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.