답변 있음
Problem with ramp change in waveforms
You can force the signal to 'jump' instantly at the point of discontinuity by using the sign function.

9개월 전 | 0

답변 있음
I am trying to incorporate multiple IF statements in my ODE to generate a single output.
Hi @Christopher Based on your definitions of the four cases in this comment and @Walter Roberson's input, we can run the simula...

9개월 전 | 1

| 수락됨

답변 있음
I haven't defined syms x but solve function gives me values depend on x
Hi @Cahit Semih Do you have any updates regarding your optimization efforts? The following solution is derived from your eigen...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

| 수락됨

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

| 수락됨

답변 있음
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 ...

9개월 전 | 1

| 수락됨

답변 있음
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...

9개월 전 | 0

| 수락됨

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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 ...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

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

9개월 전 | 0

| 수락됨

답변 있음
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...

9개월 전 | 0

| 수락됨

답변 있음
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 ...

9개월 전 | 1

답변 있음
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...

9개월 전 | 1

답변 있음
Optimization_Toolbox使用问题
Hi @蒙恩 This graphallshortestpaths command has been removed since R2022b.

9개월 전 | 1

답변 있음
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...

9개월 전 | 0

답변 있음
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 ...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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(...

9개월 전 | 0

답변 있음
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 ...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

더 보기