wmulden using previous calculated parametes

When I apply wmulden to an array A I obtain an array B with denoised signal:
level = 4;
wname = 'sym2';
tptr = 'heursure';
sorh = 's';
mode = 'asym';
SCAL ='mln';
npc_app = 'none';
npc_fin = 'none';
[B, npc, nestco] = wmulden(A, level,wname,'mode',mode, npc_app, ...
npc_fin, tptr, sorh);
If I change only one of all the data in array A the calculated array B is totally different in every single data.
[n,m]=size(A);
A(n-100,1:m)=A(n-100,1:m)+rand(1,1:m)*0.1;
[B2, npc, nestco] = wmulden(A, level,wname,'mode',mode, npc_app, ...
npc_fin, tptr, sorh);
I need :
B(1:n-101,1:m) = B2(1:n-101,1:m) && B(1:n-99,1:m) = B2(1:n-99,1:m)
and
B2(1:n-100,1:m)
is correctly denoised.
I ask if is possible to use the parameters calculated previously to apply them with wmulden only to the changed data preserving the unchanged data.
Thanks!

Answers (0)

This question is closed.

Asked:

on 10 Apr 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!