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

3 Ansichten (letzte 30 Tage)
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,

Akzeptierte Antwort

the cyclist
the cyclist am 12 Mai 2022
Put the line
rng default
at the start of your code. See rng for details.

Weitere Antworten (0)

Kategorien

Mehr zu Biomedical Signal Processing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by