У більшості практичних ситуацій шумова складова сигналу електрокардіограми (ЕКГ) має нестаціонарну природу: різний апріорно невідомий рівень дисперсії в часі. Прикладом складного нестаціонарного шуму в ЕКГ є електроміографічний (ЕМГ) шум, що виникає внаслідок скорочення або напруженості м'язових волокон у околі накладення електродів. Такий шум відноситься до внутрішніх (фізіологічних) завад, отже, реєструється та посилюється в суміші з корисним сигналом. ЕМГ шум має широкий апріорно невідомий спектр частот, що істотно перетинається зі спектром ЕКГ, і може мати різний рівень дисперсії [1-4]. Також існує метод діагностики, коли вимірювається саме ЕМГ сигнал з метою виявлення порушень у функціонуванні різних груп м'язів, спричинених нейро-м'язовими хворобами [5, 6], а ЕКГ сигнал, що накладається на ЕМГ, є завадою, яка особливо впливає при дослідженнях верхніх м'язів з лівого боку. Одним із способів усунення ЕКГ артефакту є адаптивний компенсатор, що оптимально налаштовує вектор вагових коефіцієнтів фільтра так, щоб отримати вихідний сигнал, максимально близький до завади, який потім віднімається із вхідного сигналу [6, 7], але для цього методу потрібен одночасний з'йом опорного сигналу, що сильно корелює із сигналом завади. Іншим підходом, що не потребує додаткових технічних засобів-відповідно, подорожчання ЕМГ приладів, є застосування фільтрації для придушення шумоподібного ЕМГ сигналу в ЕКГ з подальшим відніманням ЕКГ із змішаного сигналу [8-10]. На сьогодні запропоновано різні адаптивні алгоритми фільтрації шуму в ЕКГ, яким притаманні як певні переваги, так і недоліки, зокрема більшість з них використовує припущення стаціонарності шуму, а в разі здійснення оперативної обробки сигналу в реальному часі, як правило, алгоритми фільтрації втрачають й у ефективності [11-13]. Як говорилося раніше, ЕМГ шум може істотно варіюватися, мати нестаціонарні, наперед невідомі характеристики, тож проблема усунення цієї завади без суттєвого спотворення корисного сигналу й на сьогодні залишається складною й актуальною. Високу ефективність придушення ЕМГ шуму в ЕКГ забезпечують адаптивні алгоритми на основі ортогональних дискретних косинусних і вейвлетних перетворень [3, 14-16], однак вони не швидкі. Також, внаслідок застосування порогових операцій при усіченні ряду ортогональних функцій, для даних алгоритмів притаманний прояв ефекту Гіббса у вигляді низько-амплітудних сплесків та осциляцій у околі різких змін сигналу [16]. Прості та високоефективні алгоритми з динамічною зміною довжини інтервалу апроксимації залежно від оцінок крутизни (швидкості зростання/спадання) сигналу запропоновано в [2, 3, 17, 18], але вони не чутливі до рівня шуму і не реалізуються в реальному часі. Апроксимація здійснюється по оптимальному за критерієм найменших квадратів [11, 12] алгоритму Савицького-Голея [19]. У подальшому розроблено динамічні апроксимуючі алгоритми, що адаптують розмір вікна не тільки до змін у спектральному складі сигналу, але й до рівня шуму, крім того, для них можливе застосування в псевдореальному часі [20-23]. У роботах [24-32] за...