Answered
How to fit this model with a Weibull distribution?
Hi @Michele Turchiarelli I normalized the x-axis data to facilitate the fitting algorithm's search process. Is this solution ac...

2 years ago | 1

| accepted

Answered
How to design constant membership functions (singletons) for the output of a Mamdani fuzzy system?
Hi @Peddireddy This is a decade-old question, but it is indeed possible to implement a Mamdani fuzzy system (MamFIS) for the ou...

2 years ago | 0

Answered
Expert System using Fuzzy Logic
Hi @Arief The Fuzzy Tipper example is considered an Expert System for describing the tipping behavior that is typically practic...

2 years ago | 0

Answered
What are the meanings of fuzzy rules expressed in indices format?
Hi @Yadollah Sabri 1 1, 1 (1) : 2 2 0, 2 (1) : 1 This approach is one of several ways to specify the rules using membership f...

2 years ago | 0

Answered
How to implement the linear output function in Takagi–Sugeno Fuzzy System?
Hi @m To describe the equation (a flat plane surface), use the syntax 'linear', [1 1 2] in the addMF() command for the output ...

2 years ago | 0

Answered
Curve fitter limitation for equations in the form f(x,y)=a*x^n/(y+b)^m
Hi @Boyan Given that there are only data points, employing a bivariate polynomial of degree two in and degree four in will e...

2 years ago | 1

| accepted

Answered
My roots don't match example roots when solving routh criterion
Hi @Jhryssa From Part (a), you should have obtained the stable range of : . Part (b) instructs you to verify the stability resu...

2 years ago | 0

Answered
I have a problem in which I have to define a fuzzy membership function with variable x(1) x(2) like below. For these variables I have to generate random number between 1 and 5. x(1)<x(2). What will be code for that?
Set a constraint on so that . fis = sugfis; %% Random integer generator n1 = 3; n2 = 5 - n1; x1 = randi(n1, 1); x2 ...

2 years ago | 0

Answered
How to get inputs from outputs in fuzzy interface system?
Hi @amir There is no built-in function in the Fuzzy Logic Toolbox to accomplish this. Moreover, if the fuzzy inference system (...

2 years ago | 0

Answered
Which "AND" operator is used for the fuzzy rules created by ANFIS?
Hi @Gary By default, ANFIS generates a single-output Sugeno fuzzy inference system. The 'AND' operator is specified in one of t...

2 years ago | 0

Answered
How to see the firing strength using command line of a fuzzy System?
Hi @Luis M The firing strengths can be obtained from the 5th output argument of the 'evalfis' command. Howevern note that this ...

2 years ago | 0

Answered
Membership function not plotting right
Hi @Juan Lopez Specifying the number of data points (numPoints) in the 'plofmf' command to plot for each MF will solve the prob...

2 years ago | 0

Answered
Problem in curve fitting using curvefitter app
Hi @Farkhanda Azmi I fitted the data using a logarithm function: %% Data load('yvalues_curvefit_case.mat'); y = y3a_DOD_...

2 years ago | 0

Answered
My Numerical Solution doesn't align with the exact solution
Hi @Prince Nino Perhaps you should verify the results with your Professor. You can also change the initial condition. %% Numer...

2 years ago | 1

Answered
What system of ODE's does Simscape Electrical's DC Motor Block use?
Because and , therefore . Note that you already have the term in your differential equation .

2 years ago | 0

Answered
Matlab ODE 4.5 Runge Kutta problem solver. Can't get it to work for one problem set.
Hi @DJ V You forgot to supply the values for l and n. theta = 0; phi = 0; psi = 0; Ctheta=cos(theta); Cphi = cos(phi); Cp...

2 years ago | 0

Answered
Very large output numbers
Hi @Marcos Proper transfer function should have the degree of the numerator less than or equals to the degree of the denominato...

2 years ago | 0

Answered
Matlab code does not run past a certain point: i.e. buffers at a certain line of code
Hi @Jhryssa If your professor is not a disciplinarian, then there is nothing wrong with using the standard gravitational parame...

2 years ago | 0

Answered
Create a generic x for (x,y) plot
Hi @Flip Reutelingsperger Perhaps, you can plot like in this example: % Time vector timeStr = ["10:23:55", "10:24:00", "10:24...

2 years ago | 0

Answered
Why the Kf_LMax value is increased beyond its limits. Is their is any logical error Kindly help me out .
Hi @Ehtisham If the gains and stay constant or vary very slowly during each phase, then you can consider applying the followi...

2 years ago | 0

Answered
Periodic result using ode45 while simulating a parachute decent with 6DOF dynamics
Hi @mekg_10 At first, I thought you were trying to duplicate the results of the paper by attaching a parachute to the Mars EDL....

2 years ago | 0

Answered
Why the Kf_LMax value is increased beyond its limits. Is their is any logical error Kindly help me out .
Hi @Ehtisham The previous answer attempts to provide a logical explanation for why the 'Kf_L'​ variable exceeds the desired upp...

2 years ago | 0

Answered
Why the Kf_LMax value is increased beyond its limits. Is their is any logical error Kindly help me out .
Hi @Ehtisham I am unfamiliar with your equation, but it appears that you did not "mathematically" impose the desired upper limi...

2 years ago | 0

Answered
The problem is to calculate unknowns and plot graph for Nu vs time.
Hi @MADHVI Your original code runs without error in MATLAB online. However, I have included annotations in the comments to expl...

2 years ago | 0

Answered
PI controller tuning in hall sensor FOC example
Hi @Rohan In the Thesis, you can probably explain like that "When the 'Tune' button is clicked, the Simulink PID Tuner does...

2 years ago | 1

| accepted

Answered
simulink is giving unexpected simulation answer
Nope, not stable. The reason you got the high oscillations exponential decay response is because there are not enough samples fo...

2 years ago | 1

| accepted

Answered
matlab data how to read the fuzzy data in matlab ?
I believe that you will have to manually enter the numeric data from the Table. I don't know, but two parameters might be relate...

2 years ago | 0

Answered
I wan to find the branch currents using mathematical expression
Hi @Zeeshan The system appears to be linear; however, it is a 9th-order system (see Abel's Impossibility Theorem). Therefore, y...

2 years ago | 0

| accepted

Answered
The same plotting problem, it is appear that one of the marker does not show on the graph but it should have been properly plot and the legend has shown properly too
Hi @Elisa The idea is to reposition the legend box to a region that it doesn't block the green dot. max_l = 1.00; max_a =...

2 years ago | 0

Answered
How can model a nonlinear PID pressure and volume controller for medical ventilator application.
Hi @Amlakie Setargew You can refer to the modeling of a positive-pressure medical ventilator system using Simscape here: https...

2 years ago | 0

Load more