Simulation - number of samples
5 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
Torsten
on 27 Jul 2024
Edited: Torsten
on 27 Jul 2024
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 Comments
Torsten
on 28 Jul 2024
Edited: Torsten
on 28 Jul 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" ?
More Answers (0)
See Also
Categories
Find more on Fuzzy Logic Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!