已回答
QFT ( Quantitative Feedback Theory) Controller
Hi @osama If you are referring to the original QFT Toolbox developed by Craig Borghesani, the founder of Terasoft, and previous...

4 months 前 | 0

已回答
How can I place a linear regression line (line of best fit) through both plots in this code, but only from the halfway point to the end?
Hi @ryan In purely math terms, do you mean to find the tangent line at the midpoint of the decaying beta curve? If so, I used m...

4 months 前 | 0

已回答
How to design the MPC controller based on the plant model. I want to use it for the adaptive control for motor control. How it will react?
Hi @Ancy Princia There are numerous codes available in the documentation of the Model Predictive Control Toolbox. You should fi...

4 months 前 | 1

已回答
S curve ramp function
Hi @David Cole In addition to your user inputs (Vin, accel, and jerk), you also need to provide the "Jerk On" time. You can u...

4 months 前 | 0

已回答
S curve ramp function
This might not be what PLC users like to do. %% 99% Math-free Jerk-based Velocity % parameter c = 1e-3; ...

4 months 前 | 0

已回答
Break in and break away points on Root Locus
Hi @Niel Previously in this post, it was shown that we must at least place a compensating pole at the origin so that the root l...

4 months 前 | 2

| 已接受

已回答
Break in and break away points on Root Locus
Hi @Niel The reason is simply that the locus never intersects the 0.59 damping ratio grid line, regardless of how the feedback ...

4 months 前 | 0

已回答
I want to build a double pendulum system in Simulink but am getting errors relating to the tolerance and step size
Hi @Jishnu After reviewing the block diagram, if you feed the signals ​ and (before the integrators) back into their respectiv...

4 months 前 | 1

已回答
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 ...

4 months 前 | 0

已回答
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...

4 months 前 | 1

已回答
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...

4 months 前 | 1

| 已接受

已回答
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....

4 months 前 | 0

已回答
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 months 前 | 0

已回答
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 months 前 | 1

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

5 months 前 | 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...

5 months 前 | 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...

5 months 前 | 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...

5 months 前 | 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...

5 months 前 | 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...

5 months 前 | 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 ...

5 months 前 | 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...

5 months 前 | 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...

5 months 前 | 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...

5 months 前 | 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...

5 months 前 | 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...

5 months 前 | 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...

5 months 前 | 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...

5 months 前 | 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 ...

5 months 前 | 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...

5 months 前 | 0

加载更多