Answered
Bir robot itfaiye simulasyonu yapmak istiyorum nasıl yapabilirim/I want to make a robot firefighter simulation, how can I do it?
Hi @Kerem To run the simulation effectively, you need the math to describe the following components: The environment. The dyn...

6 months ago | 0

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

6 months ago | 0

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

6 months ago | 1

| accepted

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

6 months ago | 0

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

6 months ago | 0

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

6 months ago | 1

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

6 months ago | 0

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

7 months ago | 0

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

7 months ago | 2

| accepted

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

7 months ago | 0

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

7 months ago | 1

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

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

7 months ago | 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

7 months ago | 0

Load more