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 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Shreeya
2023 年 10 月 27 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で EEG/MEG/ECoG についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!