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.986 Answers

RANK
42
of 298.634

REPUTATION
4.738

CONTRIBUTIONS
0 Questions
1.986 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
1.006

RANK
 of 20.631

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 161.859

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
Constraints to a Second Order Curve Fit
This is merely a workaround that involves manually forcing the sign of the leading coefficient to be smallest positive. It does ...

ongeveer 8 uur ago | 0

Answered
Please help to identify this Simscape component
Since the block is connected to the scope with the label 'Output Current', it is certainly related to the measurement of the cur...

ongeveer 13 uur ago | 0

Answered
Rotary Inverted Pendulum State Space Model PID Cascade Control
Hi @Davide If you examine the transfer function from control input to θ, you will observe that it is a 4th-order function, wit...

ongeveer 19 uur ago | 1

| accepted

Answered
Can I use "place" function to adaptively update controller gain K when running model in Simulink?
Hi @Quang Manh If the place() function is not supported for code generation, you will need to program the computation manually....

2 dagen ago | 0

Answered
What are the signs that my parameter estimator is on the right track before convergence?
Hi @YASSER In MATLAB, a 'NaN' result is primarily produced when there are indeterminate operations, such as Inf/Inf or 0/0. A s...

4 dagen ago | 0

Answered
Understanding continuous integrator blocks in Simulink
Hi @C I don't what is the mathematical 'C' function in your differential equation. If the derivative function is unavailable, b...

4 dagen ago | 1

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

6 dagen ago | 0

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

7 dagen ago | 1

| accepted

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

8 dagen 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...

8 dagen 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...

9 dagen 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...

12 dagen 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 ...

14 dagen 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...

14 dagen 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...

15 dagen 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...

15 dagen 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...

16 dagen 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...

16 dagen 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...

16 dagen 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...

16 dagen 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 ...

17 dagen 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...

18 dagen 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...

18 dagen 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...

18 dagen 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 ...

18 dagen 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...

19 dagen ago | 1

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

19 dagen 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...

20 dagen 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 ...

20 dagen 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...

20 dagen ago | 0

Load more