Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: The MathWorks, Inc.

Rating No ratings yet

Fuzzy Logic Toolbox provides MATLAB®functions, apps, and a Simulink®block for analyzing, designing, and simulating systems based on fuzzy logic. The product guides you through the steps of designing fuzzy inference systems. Functions are provided for many common methods, including fuzzy clustering and adaptive neurofuzzy learning. The toolbox lets you model complex system behaviors using simple logic rules, and then implement these rules in a fuzzy inference system. You can use it as a stand-alone fuzzy inference engine. Alternatively, you can use fuzzy inference blocks in Simulink and simulate the fuzzy systems within a comprehensive model of the entire dynamic system. Key Features: • Fuzzy Logic Design app for building fuzzy inference systems and viewing and analyzing results • Membership functions for creating fuzzy inference systems • Support for AND, OR, and NOT logic in user-defined rules • Standard Mamdani and Sugeno-type fuzzy inference systems • Automated membership function shaping through neuroadaptive and fuzzy clustering learning techniques • Ability to embed a fuzzy inference system in a Simulink model • Ability to generate embeddable C code or stand-alone executable fuzzy inference engines

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A practical, example-driven manual for anyone who wants to design, tune, and deploy fuzzy inference systems in MATLAB and Simulink—from simple rule-based controllers to neuro-adaptive and type-2 systems—without needing a background in fuzzy mathematics. 【Book Arc】 - **Opening (~0%–10%)**: Introduces fuzzy logic as a trade-off between significance and precision, then lays the conceptual groundwork—fuzzy sets, membership functions, if-then rules, fuzzy operators, and defuzzification methods (centroid, bisector, MOM/SOM/LOM)—before any code appears. - **Early (~10%–25%)**: Moves into building systems: the Fuzzy Logic Designer app, the Rule Editor, Mamdani vs. Sugeno inference, custom membership and inference functions, and structuring large rule bases with fuzzy trees (incremental and aggregated) to keep rule counts manageable. - **Early–Middle (~25%–40%)**: Covers tuning—`genfis` for generating initial rule bases from data, `tunefis` for parameter optimization, two-stage tuning strategies (rules first, then MFs), k-fold validation, and type-2 FIS parameter tuning. - **Middle (~40%–50%)**: Applies tuning to real problems: gas-mileage prediction with FIS trees, chaotic time-series prediction, robot obstacle avoidance with custom cost functions, and ANFIS for inverse kinematics in a robotic arm. - **Late (~50%+ of sampled excerpts)**: The excerpts thin out here; remaining material appears to cover Simulink integration, code generation, and deployment—but the sampled chunks do not detail these stages. 【Key Takeaways】 - **Fuzzy logic trades precision for interpretability** (Opening): Rules like "If service is good then tip is average" model human reasoning directly, making the toolbox suited to problems where crisp math is awkward but expert knowledge exists. - **The if-then rule is the core unit** (Opening): Antecedents return a scalar membership value; consequents assign an entire fuzzy set that is later defuzzified—understanding this asymmetry is essential before touching the apps. - **Mamdani and Sugeno serve different purposes** (Early): Mamdani systems are more interpretable; Sugeno systems evaluate faster and are preferred during tuning, as shown in the gas-mileage FIS tree example. - **Fuzzy trees solve rule explosion** (Early): A monolithic FIS with four inputs and three MFs needs 81 rules; splitting into a tree makes rule count linear in input pairs—critical for scaling to real problems. - **Tuning is iterative and staged** (Early–Middle): Tuning rules first (cheap) then MFs (expensive) converges faster than tuning everything at once; `genfis` provides a data-derived starting point for local optimization. - **Validation matters** (Middle): K-fold cross-validation with tolerance and moving-average windows guards against overfitting—training error alone can mislead, as the biased no-validation example shows. - **Custom cost functions unlock domain-specific tuning** (Middle): The robot obstacle-avoidance example shows `tunefis` can optimize against simulation-based costs, at the price of long runtimes—use training data when available to speed things up. - **ANFIS bridges neural learning and fuzzy rules** (Middle): Adaptive neuro-fuzzy inference learns input-output mappings (e.g., coordinates to joint angles) by tuning membership functions via backpropagation-like learning. 【Reading Tips】 - **Skim the conceptual opening if you already know fuzzy logic**; deep-read the defuzzification methods section only when your output behavior looks wrong. - **Work the tipping-problem example end-to-end**—it recurs throughout and anchors every later concept (rules, custom functions, tuning). - **Treat the tuning chapter as a reference, not a linear read**: the two-stage strategy, k-fold setup, and custom-cost pattern are reusable templates; copy them rather than memorizing syntax. - **Watch for the Mamdani/Sugeno choice early**—it affects evaluation speed and tuning feasibility throughout the book. - **The excerpts do not cover Simulink blocks or C-code generation in detail**; if deployment is your goal, plan to consult those chapters directly in the full guide. 【Coverage Limits】 This guide is based on 22 of 33 indexed chunks, weighted toward the opening and tuning chapters; Simulink integration, code generation, and later deployment material are largely absent from the sampled excerpts and are not summarized here.
Page 14
of fuzzy logic relies on age-old skills of human reasoning. Fuzzy logic is a convenient way to map an input space to an output space. Mapping input to output...
View in text
Excerpt 2
les. Hence, the total number of rules is nm2 = 3 ⨉ 32 = 27. The following figure shows a monolithic (n = 1) FIS with four inputs (j=1, 2, 3, 4) and three MFs...
View in text
Excerpt 3
ch FIS includes two inputs and one output, where each input contains two default triangular membership functions (MFs), and the output includes 4 default con...
View in text
Excerpt 4
uts. • First, tune FIS parameters for steering angle. 3-105 Neuro-Adaptive Learning and ANFIS • “Save Training Error Data to MATLAB Workspace” on page 3-130...
View in text
Excerpt 5
quals the number of clusters and hence 3 rules are created. We can now probe the FIS to understand how the clusters got converted internally into membership...
View in text
Excerpt 6
omma-separated pair consisting of 'ErrorGoal' and a scalar. The training process stops when the training error is less than or equal to ErrorGoal. InitialSte...
View in text
Excerpt 7
ated pair consisting of 'Verbose' and one of the following: • false — Do not display progress information. • true — Display progress information. CustomClust...
View in text
Excerpt 8
ion is removed from any fuzzy rules. If a rule has only the specified membership function in its antecedent, then the entir
View in text
Tags
AI categories
Artificial IntelligenceMatlabProgramming
Publisher: The MathWorks, Inc.
Publish Year: 2020
Language: English
Pages: 782
File Format: PDF
File Size: 8.6 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…