Beantwortet
How to iteratively solve when equations are dependent on each other.
Hi @John You can specify the range so that 'vpasolve' searches the solution in that region. load('Sigma_ysrtM.mat') load('T_o...

6 Monate vor | 1

| akzeptiert

Beantwortet
having error while running fuzzy controller and fuzzy set of matlab 2017 in matlab 2023?
All five membership functions of Input 2 are defined in the range [-1, 1]. However, when Input 2 has a value of -1.77138 that is...

6 Monate vor | 0

Beantwortet
No logro estabilizar mi sistema por PID
Hi @Bethsy Sheyla For learning purposes, I am providing a demo below to illustrate that an ideal Proportional-Derivative (PD) c...

7 Monate vor | 0

Beantwortet
How to Control Simulink from Matlab during Simulation
Hi @DJ V I am unable to address all questions in a single post, as some require knowledge of aerospace engineering. However, to...

7 Monate vor | 0

Beantwortet
How to get started on autopilot modeling and simulation?
Hi @Botond The modeling of fixed-wing UAVs and wind gusts is generally covered in Aerospace Engineering. In Mechatronics, you w...

7 Monate vor | 0

Beantwortet
What causes the SMC controller to be unable to track the desired position, leading to an excessively significant error between the desired and real positions?
Hi @Alfa I did not examine your Simulink model, as it requires technical knowledge of quadcopter dynamics. Assuming that your q...

7 Monate vor | 1

| akzeptiert

Beantwortet
How can I plot an impulse (sech(x)) consisting of 2002 points, where last 1001 point are zeros?
Hi @Anna_P @Mathieu NOE indeed has a point. My proposed approach does not give an absolute zero. If you require absolute zero f...

7 Monate vor | 1

Beantwortet
How can I plot an impulse (sech(x)) consisting of 2002 points, where last 1001 point are zeros?
Hi @Anna Mathieu has shown you how to do that in MATLAB. This is the standard approach in MATLAB computing. However, if you are...

7 Monate vor | 1

Beantwortet
Is there any specific clinical data classification only using triangular membership function available?
Hi @BHARATHIRAJA This response comes a decade late. Nonetheless, I hope this demo helps others understand how to fuzzify clinic...

8 Monate vor | 0

Beantwortet
Guideline for implementing PID and saturation
Hi @Jo I revisited your Lur'e system and designed a combined PID controller with a lead compensator in Simulink to regulate the...

8 Monate vor | 0

Beantwortet
how to use interp1() function with half data
Hi @li, If you double the data, it works. x=half(0:5) y=x.^2 interp1(double(x), double(y), 5)

8 Monate vor | 1

| akzeptiert

Beantwortet
Guideline for implementing PID and saturation
Hi @Jo This system is somewhat difficult to control. I have not explored how you successfully track the setpoint using a gain-s...

8 Monate vor | 0

Beantwortet
I'm trying to create a centrifuge compressor in simulink for surge study.
Hi @aziz I suggest that you run the simulation of the compressor equation in MATLAB. If it works in MATLAB, it is generally eas...

8 Monate vor | 0

| akzeptiert

Beantwortet
Bir robot itfaiye simulasyonu yapmak istiyorum nasıl yapabilirim/I want to make a robot firefighter simulation, how can I do it?
Hi @Kerem This is likely the simplest simulation of the fire engine's motion (represented as a particle) that I can guide you t...

8 Monate vor | 0

Beantwortet
Voltage and current waveform
Hi @Jyotiprakash A complete tutorial on this Electric Circuits in the Answer is impossible. It is advisable to read a standard ...

8 Monate vor | 1

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

8 Monate vor | 0

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

8 Monate vor | 0

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

8 Monate vor | 1

| akzeptiert

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

8 Monate vor | 0

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

8 Monate vor | 0

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

8 Monate vor | 1

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

8 Monate vor | 0

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

9 Monate vor | 0

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

9 Monate vor | 2

| akzeptiert

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

9 Monate vor | 0

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

9 Monate vor | 1

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

9 Monate vor | 0

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

9 Monate vor | 1

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

9 Monate vor | 1

| akzeptiert

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

9 Monate vor | 0

Mehr laden