Sam Chak - MATLAB Central

Statistics

MATLAB AnswersFrom 07/20 to 05/25Use left and right arrows to move selectionFrom 07/20Use left and right arrows to move left selectionTo 05/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%
MATLAB Answers

0 Questions
1,978 Answers

RANK
42
of 298,512

REPUTATION
4,714

CONTRIBUTIONS
0 Questions
1,978 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
1,002

RANK
 of 20,606

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 161,536

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 4
  • Most Accepted 2024
  • 36 Month Streak
  • Guiding Light
  • Knowledgeable Level 5
  • Revival Level 1
  • First Answer

View badges

Feeds

View by

Answered
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...

7 hours ago | 0

Answered
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...

22 hours ago | 0

| accepted

Answered
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...

1 day ago | 0

Answered
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...

5 days ago | 0

| accepted

Answered
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 ...

6 days ago | 1

| accepted

Answered
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...

7 days ago | 0

| accepted

Answered
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...

7 days ago | 0

Answered
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...

8 days ago | 0

Answered
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...

8 days ago | 0

Answered
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...

8 days ago | 0

Answered
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...

8 days ago | 0

Answered
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...

8 days ago | 0

Answered
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 ...

10 days ago | 0

Answered
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...

10 days ago | 0

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

10 days ago | 0

| accepted

Answered
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...

11 days ago | 0

| accepted

Answered
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 ...

11 days ago | 1

Answered
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...

11 days ago | 1

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

11 days ago | 1

Answered
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...

12 days ago | 0

Answered
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 ...

13 days ago | 0

Answered
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...

13 days ago | 0

Answered
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(...

13 days ago | 0

Answered
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 ...

13 days ago | 0

Answered
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...

14 days ago | 0

Answered
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...

14 days ago | 0

Answered
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...

14 days ago | 0

Answered
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...

14 days ago | 0

Answered
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...

15 days ago | 0

Answered
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...

15 days ago | 0

Load more