Answered
Fuzzy Ruleviewer
Unlike the ruleview(fis) command, which generates a UI-based image, the new function plotrule(fis), introduced in the R2024b rel...

10 months ago | 0

Answered
How to use the Height Defuzzification method in Fuzzy Logic Toolbox
Hi @santhi krishna The height defuzzification method is indeed available in the Fuzzy Logic Toolbox and is associated with the ...

10 months ago | 0

Answered
How to perform 5-Fold Cross-Validation in MATLAB
Some of cross-validation techniques are available in the Classification Learner App and the Regression Learner App, as well as u...

10 months ago | 0

Answered
How to determine the number and range of Fuzzy Membership Functions
Hi @azarm In function approximation, it is true that the more uniformly spaced the distribution-type MFs are, the more details ...

10 months ago | 0

Answered
Warning: MATLAB may run out of memory if this FIS is tuned using ANFIS
Hi @Mhmmd Sjj and @Yundi Huang If you use the "Grid Partitioning" method for the nine inputs in ANFIS training, MATLAB may run ...

10 months ago | 0

Answered
The settling time in matlab differs from the calculated value
Hi @fatih From the following computations and the step response plot, you may gain insight into how the actual settling time is...

10 months ago | 1

| accepted

Answered
How to make an infinite interval for an input variable in fuzzy logic
Hi @Yuri Khudyakov While it is impossible to have an infinite interval when designing the universe of discourse for a fuzzy var...

10 months ago | 0

Answered
How to determine the firing level for non-singleton inputs - A fuzzy logic problem
Hi @Emanuel With all the membership functions well-defined and the number of fuzzy rules sufficient (), using specific function...

10 months ago | 0

Answered
How to design the switch mechanism for Hybrid fuzzy PID controller
Hi @Andrei Mihai You can use the concept of the Takagi–Sugeno (T–S) fuzzy system. Unfortunately, as of R2024b, the Fuzzy Logic ...

10 months ago | 0

Answered
How to design a Fuzzy Controller for the Plant 1/(s² + 2·s + 100) to track the Reference signal
Hi @salman saeed The plant has a low DC gain of and a relatively small damping coefficient of 2. If we apply a static gain of ...

10 months ago | 0

Answered
Display problem of membership functions in Fuzzy Logic Designer
Hi @hgrlk In the older Fuzzy Logic Designer UI tool (R2022a and earlier), the default number of plot points is 181, as indicate...

10 months ago | 0

Answered
How to plot a gaussmf in simulink?
The Gaussian MF block behaves as expected mathematically. If the output signal deviates from your expectations, it may be due to...

10 months ago | 0

Answered
How to create sigmoidal membership functions? Need help with parameter 'a'
Theorem: The logistic sigmoidal membership function is given by where the membership values are computed for each input , and...

10 months ago | 0

Answered
Support and core of a fuzzy set in matlab
Crisp sets can be created using linear saturation functions such as linzmf() and linsmf(). Before these two functions were intro...

10 months ago | 0

Answered
Vectorial use of membership functions
Here is a demo in which six different S-shaped membership functions are generated and evaluated at a target input using a for-lo...

10 months ago | 0

Answered
How to get the transfer function of IEEE 9 Bus system?
Hi @车 If you wish to truly understand the dynamic behavior, stability, and response to changes or disturbances of the IEEE 9-Bu...

10 months ago | 0

Answered
Fourier series question, in regards to integration and plotting finite sums
Hi @Thomas I also struggled with calculating the integrations (by hand) while learning Fourier series many years ago. A friend ...

10 months ago | 0

Answered
How to determine the rates of inference for the fuzzy logic controller?
If the "rates of inference" refers to the speed at which the fuzzy controller processes input data, applies fuzzy rules, and pro...

10 months ago | 0

Answered
"Index exceeds matrix dimensions" error when running Fuzzy Inference Engine
The error message likely arises from specifying the membership function parameters as a vector of length two, [0, 10]. However, ...

10 months ago | 0

Answered
ctrb function returns NaN or inf when dealing with large systems
Hi @Corby Thank you and Paul for explaining why the ctrb() function fails for very high-order LTI systems when the spectral rad...

10 months ago | 0

| accepted

Answered
fuzzy logic
Traditionally, trimf and gaussmf are the two most commonly used membership functions in fuzzy systems. However, if the centers o...

10 months ago | 0

Answered
How can I utilize the Mamdani fuzzy controller to get better quality of step response for 2nd-order system?
Hi @乐乐 First, we examine the open-loop plant transfer function, . It is a 2nd-order system with an integrator and thus, the clo...

10 months ago | 1

| accepted

Answered
How to extract high-quality image from MATLAB for my research article?
Is 600 dpi good enough? plot(t, x1, t, x2, t, x3) ax = gca; exportgraphics(ax, 'myPlot.png', 'Resolution', 600) Else if ...

10 months ago | 0

Answered
how to deal with discontinuities in solutions to differential equations using ode45
Hi @Chris Hooper To answer your question posed in the title, when simulating systems using ode45() or any other numerical solve...

10 months ago | 2

Answered
Delayed response of neuron to stimuli
The reason for the delayed response is most likely that the Hodgkin–Huxley neuron model consists of a set of nonlinear different...

10 months ago | 0

| accepted

Answered
How to auto-tune PID parameters for isolated converters like a phase-shift full-bridge DC-DC converter?
Generally, you desire a 'smart' program that autotunes the PID controller without requiring the user to specify the desired perf...

10 months ago | 0

Answered
Need help with error code
Most likely, your colleagues have this function program file stored in one of the folders on their computers. function [T, file...

10 months ago | 0

Answered
Can anyone explain why I am getting an error here? This was a code given to my by my teacher for a project, but it will not work for me. It is for a linkage analysis.
Hi @Ben If the error message says that the inputs of atan2() must be real, then one or both of the inputs must be complex. What...

10 months ago | 1

Answered
Fuzzy implementation on 2nd order transfer function
The Fuzzy Logic Toolbox still lacks examples demonstrating how to implement fuzzy PID controllers in MATLAB using ODE solvers. M...

10 months ago | 0

Answered
How to implement fuzzy control for a thermal system in MATLAB
Hi @giorgos dimou I attempted to recreate the Mamdani fuzzy logic system. However, too many details were not provided. Conseque...

10 months ago | 0

Load more