I have a single channel EEG signal and I want to denoise the signal using matlab kalman filter. Can anyone explain how and what are the parameters that i need to include ?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
sys.InputName = {'u','w'};
sys.OutputName = {'yt'};
vIn = sumblk('y=yt+v');
kalmf.InputName = {'u','y'};
kalmf.OutputName = 'ye';
>> SimModel = connect(sys,vIn,kalmf,{'u','w','v'},{'yt','ye'});
Error using DynamicSystem/connect (line 283)
Input argument 1 is not a dynamic system or has some unspecified I/O names.
0 Commenti
Risposte (1)
Shreeya
il 27 Ott 2023
Hello
I understand that you are facing an error when using the “connect” function for interconnecting blocks in MATLAB. The “sys” input argument to the function is expected to be a dynamic system model representing your system componenets, for example, a “tf” or “pid” model object. You can refer to the documentation regarding the input arguments of this function below:
Hence, you need to create the sys and Kalman filters, and then provide the “InputName” and “OutputName”. The below mentioned link provides a simple example regarding creating blocks and interconnecting them using the “connect” function.
You can also refer to the Kalman filter documentation below to create the filter object.
Hope this helps!
0 Commenti
Vedere anche
Categorie
Scopri di più su EEG/MEG/ECoG in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!