Simulation - number of samples

MATLAB Helpcenter states:
When analyzing your FIS, you can configure the resolution of the output variable universe of discourse. To do so, set the Number of Samples parameter.
Is there a preset (optimum) value and how is this determined?

 Risposta accettata

Torsten
Torsten il 27 Lug 2024
Modificato: Torsten il 27 Lug 2024

1 voto

Is there a preset (optimum) value and how is this determined?
As big as necessary and as small as possible. You will have to test it for several values.

2 Commenti

Steve
Steve il 28 Lug 2024
Can you please elaborate.
Torsten
Torsten il 28 Lug 2024
Modificato: Torsten il 28 Lug 2024
Do you know Monte-Carlo simulation ? You need a minimum number of runs to establish a trustworthy value for probability, but you shouldn't use too many runs in order not to waste time and memory.
I'm not sure, but I think "Number of Samples" here is a similar parameter as the number of runs in Monto-Carlo Simulation. The more you choose, the better will be the resolution of the result, but the more computing time and memory will be necessary.
From the documentation:
When analyzing your FIS, you can configure the resolution of the output variable universe of discourse. To do so, set the Number of Samples parameter.
But before using a tool like the fuzzy logic toolbox, you should read its documentation to know about the theoretical background. Or do you know better what is meant by "Mamdani To Sugeno" or "Rule Inference" or "Control Surface" ?

Accedi per commentare.

Più risposte (0)

Categorie

Prodotti

Release

R2024a

Richiesto:

il 27 Lug 2024

Modificato:

il 28 Lug 2024

Community Treasure Hunt

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

Start Hunting!

Translated by