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); } } }
public void ResetTestResult() { Data = new double[StateList.Count(), FreqList.Count()]; }