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?

 Respuesta aceptada

Torsten
Torsten el 27 de Jul. de 2024
Editada: Torsten el 27 de Jul. de 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 comentarios

Steve
Steve el 28 de Jul. de 2024
Can you please elaborate.
Torsten
Torsten el 28 de Jul. de 2024
Editada: Torsten el 28 de Jul. de 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" ?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Fuzzy Logic in Simulink en Centro de ayuda y File Exchange.

Productos

Versión

R2024a

Preguntada:

el 27 de Jul. de 2024

Editada:

el 28 de Jul. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by