Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (Int32 n = N; n < rawECG.Length; n++)
- {
- Double pow = 0;
- Double third = 0;
- for (Int32 i = 1; i <= N; i++)
- {
- Double first = rawECG[n - i + 1];
- Double second = rawECG[n - i];
- pow = Math.Pow(Math.Abs(first - second), 2);
- third = N - i + 1;
- }
- res.Add(res.Sum() + (pow * third));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement