Creating a seed for ICA on eeglab to make sure same ICA components are created every time

4 ビュー (過去 30 日間)
Hi,
I am using ICA function on eeglab. Every run of the ICA will result in slightly different independent components.
I want to used a "seed" number or function in order to be able to replicate the same IC every time I rerun them.
Is there a way to do this?
Thank you so much,

採用された回答

the cyclist
the cyclist 2022 年 5 月 12 日
Put the line
rng default
at the start of your code. See rng for details.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEEG/MEG/ECoG についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by