回答済み
Analyzing and developing PID control for a 5th order system
Hi @Niel I am not an expert in motor hardware, so I cannot explain how the 5h-order transfer function is derived. Most mechanic...

11ヶ月 前 | 0

回答済み
Analyzing and developing PID control for a 5th order system
Hi @Niel The characteristic polynomial of the 5th-order plant has zero coefficients for the terms , , and . The configuration o...

11ヶ月 前 | 1

| 採用済み

回答済み
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...

11ヶ月 前 | 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...

11ヶ月 前 | 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...

11ヶ月 前 | 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...

11ヶ月 前 | 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; ...

12ヶ月 前 | 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...

12ヶ月 前 | 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 ...

12ヶ月 前 | 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...

12ヶ月 前 | 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 ...

12ヶ月 前 | 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...

12ヶ月 前 | 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...

12ヶ月 前 | 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....

12ヶ月 前 | 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...

12ヶ月 前 | 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...

12ヶ月 前 | 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.

12ヶ月 前 | 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...

12ヶ月 前 | 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...

12ヶ月 前 | 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...

12ヶ月 前 | 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...

12ヶ月 前 | 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...

約1年 前 | 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 ...

約1年 前 | 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...

約1年 前 | 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...

約1年 前 | 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...

約1年 前 | 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...

約1年 前 | 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...

約1年 前 | 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...

約1年 前 | 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...

約1年 前 | 0

さらに読み込む