// Instructions: // Compile and execute import edu.gwu.lintool.*; public class DFTExample2 { public static void main (String[] argv) { // Get another piece of digitized music: f(0), f(1), ..., f(N-1). double[] signal = SignalExample.getMusicSample2 (); int N = signal.length; // Plot Function F = new Function ("song #2"); for (int k=0; k 0.01) { System.out.println ("F(" + k + ") = " + spectrum[k]); } } } }