Beantwortet
Can anyone explain why I am getting an error here? This was a code given to my by my teacher for a project, but it will not work for me. It is for a linkage analysis.
Hi @Ben If the error message says that the inputs of atan2() must be real, then one or both of the inputs must be complex. What...

11 Monate vor | 1

Beantwortet
Fuzzy implementation on 2nd order transfer function
The Fuzzy Logic Toolbox still lacks examples demonstrating how to implement fuzzy PID controllers in MATLAB using ODE solvers. M...

11 Monate vor | 0

Beantwortet
How to implement fuzzy control for a thermal system in MATLAB
Hi @giorgos dimou I attempted to recreate the Mamdani fuzzy logic system. However, too many details were not provided. Conseque...

11 Monate vor | 0

Beantwortet
How can I exactly identify the range of outputs of FuzzyPID-controller?
Hi @乐乐 Hope that you're still around. First, you must understand that a PID controller alone cannot freely manipulate the ste...

11 Monate vor | 2

| akzeptiert

Beantwortet
bessel funtion drawing problem part two
The mathematical reason is that when m = 1:2, the computation of j.*cos(m*pi)-j_minus is effectively equal to zero—absolute zero...

11 Monate vor | 0

Beantwortet
how can i solve this problem Undefined function or variable 'getPIDLoopResponse'
Hi @Adnan As mentioned by @Walter Roberson, you are likely using an older version of the Control System Toolbox before R2019a. ...

11 Monate vor | 0

Beantwortet
PID tuning using a fuzzy logic controller
Hi @Gabriel I can provide you with an example involving a 1st-order plant, where a simple fuzzy P+I controller is designed. In ...

11 Monate vor | 0

Beantwortet
PID tuning using a fuzzy logic controller
Hi @Gabriel You understand that certain combinations of PID gains stabilize the non-minimum phase plant, while other combinatio...

11 Monate vor | 0

Beantwortet
Derivative of state in block is not finite, how to fix?
Hi @Jamie Mathematically, the issue is likely caused by the Sum block at the end of the feedback loop, where the squared veloci...

11 Monate vor | 0

Beantwortet
How to model an inductor whose inductance value changes with RMS current passing through it?
Hi @Jay It took me an hour to extract the characteristic data from the datasheet image using PlotDigitizer, which is a free onl...

11 Monate vor | 0

Beantwortet
I have this system of linear equations and i need to solve it for unknowns. how i can solve it in MATLAB? we have 8 unknowns and 8 equations.
I see, @javeria. So, you would like to learn how to solve a system of linear equations. You can refer to the example at the foll...

11 Monate vor | 0

Beantwortet
How to model an inductor whose inductance value changes with RMS current passing through it?
Hi Jay, This is a modeling problem. Ideally, if the data points are sufficiently available, you can use the Curve Fitting to...

11 Monate vor | 0

Beantwortet
Solver was unable to reduce the step size without violating the minimum step size value of 2.66454E-10 for 5 consecutive times
Hi @Juan José Good to hear that the custom smooth signal works. The masked subsystem is able to generate the trapezoidal pulse ...

11 Monate vor | 0

| akzeptiert

Beantwortet
how to simulate mpc controller?
Hi @Mikail, I did not 'beautify' the plot. But the following outlines how you can simulate the LQR-controlled system using the ...

11 Monate vor | 0

| akzeptiert

Beantwortet
Standard form of Transfer function.
Hi @Hamza Harbi This display of the transfer function is not referred to as the 'Standard form', or rather, it is known as the ...

11 Monate vor | 0

| akzeptiert

Beantwortet
Need help with troubleshooting and how can I fix these errors in my code?
Hi @Tiek Aun I am unfamiliar with the dynamics of the pyrolysis reactor; however, I can point out two mistakes in the code. Fi...

11 Monate vor | 0

| akzeptiert

Beantwortet
Algebraic Loop Error in Simulink Model with Enabled Subsystems – Performance Issue
Hi @Marco Your case sounds similar to the flip-flop. It creates a circular dependency between the output and input values of th...

11 Monate vor | 0

Beantwortet
Sliding Mode Control (SMC) + PID Cascade Loop
Hi @Junaid I understand that the clamping force must be increased incrementally from 0 kN and must not exceed 6 kN. You aim to ...

11 Monate vor | 0

Beantwortet
Implementing MRAC for Robotic arm of unknown link lengths
Hi @Sandy Based on your image, the MRAC block should replace the Sum and PID controller blocks. If the link length is unknown, ...

11 Monate vor | 0

| akzeptiert

Beantwortet
My Step Response plot from Matlab does not match the one from Simulink
Hi @Javier If you want the Simulink Step block to match the MATLAB step() command, please follow @Paul's guidance. Conversely, ...

11 Monate vor | 0

| akzeptiert

Beantwortet
How to plan path in Cartesian coordinate for robotic manipulator
Hi @Kannan For a more complex path, such as the M-shaped Golden Arches, you will need to describe the path using parameterized ...

11 Monate vor | 0

| akzeptiert

Beantwortet
Hi everyone, help me understand the meaning of the 2 parameters Kv Ki in the measurement block in the Bus block, and how to determine that parameter.
Hai @hai, The electronic amplifier-like block is referred to as the 'Gain' block, which multiplies the input by a constant valu...

11 Monate vor | 0

| akzeptiert

Beantwortet
Ezyfit: Single vs. Two-Step Fitting Problem
Hi @Sim You can verify this. The model proposed by @Torsten fits quite well within the first 10% of the data range. However, af...

11 Monate vor | 1

Beantwortet
Stability Margins for MIMO Feedback Loop
Hi @Florian If you wish to determine the stability margin of a linearized system, you may consider using the Bode Plot block di...

11 Monate vor | 0

Beantwortet
I have been trying to derivate equation under to find the formula for 3 parameters Weibull distribution as same as picture. Can someone please help me fix it?
Is this what you are seeking? Your equation is too lengthy and contains excessive, unnecessary brackets, as well as mismatched ...

11 Monate vor | 0

| akzeptiert

Beantwortet
Open-Loop Response of a Simulink MIMO System
I am unsure whether your modeling is correct; however, one obvious observation from the Scope is that you are comparing the outp...

11 Monate vor | 0

Beantwortet
Solution of algebraic equation that a variable occures both in numerator and denomirator with respect to an other variable
Γεια @Anastasios Kyriakopoulos I would like to show graphically that the nonlinear equation is not strictly a quadratic equatio...

11 Monate vor | 0

Beantwortet
How to determine if equation is not feedback linearizable
Hi @Ken I am not aware of a specific function in MATLAB to test whether a system is feedback linearizable. However, the given s...

11 Monate vor | 1

| akzeptiert

Beantwortet
Machine and Deep Learning Books using MATLAB
Hi @Ahmed You can find the info about the books that provide codes for machine learning and deep learning using MATLAB here: h...

11 Monate vor | 1

| akzeptiert

Beantwortet
how to write mat lab code for predict compressive strength of concrete using svm
Hi @Rathnaswamy You can use the data on concrete specimens with varying mix proportions and curing ages to train an SVM model u...

11 Monate vor | 0

Mehr laden