Risposto
how to repeat a code until a certain input has been recieved
Hi @zach Here is a simple example estimate the value of using the while loop to infinitely repeat the execution of instruction...

oltre un anno fa | 0

| accettato

Risposto
How does the expfit function... functions
This is most likely because the expfit() function does not belong to the Curve Fitting Toolbox. Furthermore, the function is mor...

oltre un anno fa | 0

Risposto
Fuzzy Logic Controller Block in Simulink Doesn't Show Two Inputs
Hi @ali If there is more than one input, you need to use the Mux block to combine the input signals into a virtual signal vecto...

oltre un anno fa | 0

| accettato

Risposto
Can MATLAB handle Fuzzy Derivatives and plotting in Fuzzy Logic contexts?
Hi @salim You can certainly recommend the Fuzzy Logic Toolbox to your friend. However, the toolbox is primarily focused on the ...

oltre un anno fa | 1

| accettato

Risposto
Tips for solving Matrix/Linear Algebra Problems with matlab
Hi @Annie RLC Circuit analysis typically involves a dynamic system. Thus, you will need to model it in the form of a differenti...

oltre un anno fa | 0

| accettato

Risposto
given the function f(x)=X^3 - 6X^2+9X. Find the first derivative of the function of f(x)
You can use the first derivative formula from Larson/Edwards Calculus of a Single Variable textbook. For more info, please look...

oltre un anno fa | 0

Risposto
How to create .fis file with 2042 numerical values as input for a fuzzy system
Hi @karthika gurusamy A FIS file (*.fis) can only be created when saving the fuzzy inference system (FIS) object to the current...

oltre un anno fa | 0

Risposto
What should I do if I get "Error: Invalid FIS. PARAMS field of constant output MF must contain a scalar"
Hi @Nithya Kancherla and @Iman Ansari The conclusion part of the Sugeno If–Then inference does not have the typical output memb...

oltre un anno fa | 0

Risposto
What should I do if I get "Error: Specified FIS file contains invalid type-1 membership function"
Hi @alper demir This error most likely indicates that your FIS file may have been corrupted for an unknown reason when the modi...

oltre un anno fa | 0

Risposto
What should I do if I get "Error in ruleview"
This error most likely indicates that your fuzzy system is either incorrectly designed or may have been corrupted due to incorre...

oltre un anno fa | 0

Risposto
How to design a Fuzzy System for the Fuzzy Relation (A∪C)∩(B∪D)
Hi @Johnson Obari The response is a bit late, but this is an interesting problem. If you use three fuzzy sets for each of the f...

oltre un anno fa | 0

Risposto
I am having trouble getting the engine speed to 0 rpm when simulating a series hybrid vehicle controller.
Hi @Thang The Simulink file contains many components, including blocks from Stateflow and Simscape. Could you provide the same ...

oltre un anno fa | 0

Risposto
How to write nonlinear optimisation model with multiple constraints with triangular fuzzy number data
Hi @Rajkumar Verma Most parts of the code function correctly. However, you need to test it by inputting desired values into the...

oltre un anno fa | 0

Risposto
Solving math by equal
Hi @cong In my previous answer, the margin() function cannot accurately determine the phase margin because there are three gain...

oltre un anno fa | 0

| accettato

Risposto
How can i draw this plot?
Hi @S AsZ Perhaps try this: https://www.mathworks.com/help/matlab/ref/colormap.html#buc3wsn-1-map sphere(100) colormap coppe...

oltre un anno fa | 0

| accettato

Risposto
Solving math by equal
Hi @cong You can assign a value to K, compute the transfer function G(s), and then use the margin(G) command to find the phase ...

oltre un anno fa | 1

Risposto
Optimization_Toolbox使用问题
Hi @蒙恩 You can use the distances() function as the alternative. W = [.41 .99 .51 .32 .15 .45 .38 .32 .36 .29 .21]; DG = sp...

oltre un anno fa | 1

Risposto
Optimization_Toolbox使用问题
Hi @蒙恩 This graphallshortestpaths command has been removed since R2022b.

oltre un anno fa | 1

Risposto
How to get an output value for a Mamdani fuzzy system using evalfis() command
It is likely simpler than you have anticipated if you design the Mamdani system correctly according to mathematical reasoning pr...

oltre un anno fa | 0

Risposto
How to design a fuzzy decision-making framework for a HVAC system incorporating 'Is Any' logic
In boolean logic, "is any" represents a conditional statement where if at least one condition within a set is true, the overall ...

oltre un anno fa | 0

Risposto
How to improve the simulation speed of a system slowed by the addition of a Fuzzy System
Hi @Ahmed Alshamrany If your fuzzy system is of the Mamdani type (as is the case for 99% of beginner users), and it has many in...

oltre un anno fa | 0

Risposto
How to generate 2-D Lookup Table data for a 3-Output Fuzzy Logic System
Hi @Aditya Gandhi The code in your image is flawed, as it should have used 'LookUpTableData(j,i)' instead of 'LookUpTableData(...

oltre un anno fa | 0

Risposto
How to make ANFIS fuzzy system to produce exact binary outputs (0 or 1)
Hi @Dhandapani.S It appears you are concerned that ANFIS may not be suitable for your needs, particularly if you require exact ...

oltre un anno fa | 0

Risposto
How to extract Fuzzy Rules from Data and determine their adequacy for classification
Hi @eman If the data size is relatively small and non-chaotic, then both tunefis() and anfis() algorithms can be used to to unc...

oltre un anno fa | 0

Risposto
How to resolve the error: the variable fuzout(1,i) cannot save fuzout = evalfis(fis, trainin)
Hi @redha wassim brahimi I am revisiting the problem after nearly three years. I created dummy data and resolved the issue invo...

oltre un anno fa | 0

Risposto
How to display the Output of a Fuzzy System in linguistic terms such as 'Good' or 'Bad'
Hi @sotna ledua Since your post lacks additional details about the fuzzy system, I will create a simple fuzzy system for explan...

oltre un anno fa | 0

Risposto
How to design the membership functions for error and change in error in a fuzzy logic controller
Hi @vinay kumar kraleti Since your description of the problem is a simple one-liner and lacks additional details, I will show t...

oltre un anno fa | 0

Risposto
Scatter plots and lines
Hi @Harvey Could you add a thick black line as indicated by the dotted lines? The dotted lines serve as a tracing task, helping...

oltre un anno fa | 0

Risposto
How can one fuzzify a Support Vector Regression (SVR) model?
If the data from the Support Vector Regression (SVR) model is available, it is possible to train an Adaptive Neuro-Fuzzy Inferen...

oltre un anno fa | 0

Risposto
How we can do sub-plot in one graph ?
There are three variables in the function F(t, x, y). I am unsure how you would like to plot these multivariate graphs. However,...

oltre un anno fa | 1

Carica altro