Borrar filtros
Borrar filtros

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 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Shreeya
Shreeya el 27 de Oct. de 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!

Categorías

Más información sobre EEG/MEG/ECoG en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by