示例#1
0
        public void FillSimulatedData()
        {
            Random ran = new Random();

            for (int i = 0; i < StateList.Count(); i++)
            {
                for (int j = 0; j < FreqList.Count(); j++)
                {
                    Data[i, j] = Math.Cos(j * Math.PI * 2 / 1000 + i) + ran.NextDouble();
                    //System.Threading.Thread.Sleep(2);
                }
            }
        }
示例#2
0
 public void ResetTestResult()
 {
     Data = new double[StateList.Count(), FreqList.Count()];
 }