Using Dew Math for .NET routines is a peace of cake. Now you can perform complex numeric tasks with only few function calls.
private void button1_Click(object sender, System.EventArgs e) { Vector x = new Vector(0); Vector y = new Vector(0); Vector spec = new Vector(0); // Please include the full path of the file. // The file is included with the MtxVec BasicDemo // distribution and has 8000 values only. y.LoadFromFile(@"C:MtxVecDemoFFTData.vec"); y.Resize(1024,false); x.FFT(y,false); spec.Mag(x); TeeChart.DrawValues(spec,fastLine1,0,1,false); }
Things to try:
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 1999-2010 by Dew Research. All rights reserved.
|