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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 1

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 1

| aceptada

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

más de 1 año hace | 1

| aceptada

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

más de 1 año hace | 0

Respondida
How can I use the function coeffs() as the input to the function tf()?
Use double(). syms s n = (s^2+10*s+50)*(s^2+8.6*s+21.73)*(s^2-0.7*s+0.1625)*(s^2-2*s+3.25)^2*(s^2+4)^2*(s-2.2); x = expand(n)...

más de 1 año hace | 1

| aceptada

Respondida
How can I calculate the probability of false detection?
@Suleyman Aliyev, Do you expect the graph to behave like this? % Given parameters sigma2_values = linspace(0.1, 0.01, 100); ...

más de 1 año hace | 2

Respondida
Need help with DC motor modelling with PID
Hi @Irwan Shah The looping in your model is incorrect due to unit inconsistency. All calculations are performed in radians. Y...

más de 1 año hace | 0

| aceptada

Respondida
Problem with derivative block simulink
Hi @Purvaja Based on the information provided by the OP, I will likely construct the model as illustrated. However, if the refe...

más de 1 año hace | 1

Respondida
How to use the integrating option in a closed-loop PID autotuner?
Here is the difference between stable plants and integrating plants: %% Stable Plant (all eigenvalues have negative real part) ...

más de 1 año hace | 0

Respondida
I need help for drawing a constraint in Matlab in 2D
Hi @nadia nadi You should replace the p3 line with this: p3 = 3/2*ones(1, numel(x1(1,:))); ... plot(p3, x1(1,:)) clear...

más de 1 año hace | 0

| aceptada

Respondida
Request for MATLAB Code of Elephant Search Algorithm (ESA)
Hi @Sina The most effective approach is to contact the authors, as the algorithm was originally coded in MATLAB. They would ben...

más de 1 año hace | 1

Respondida
solve algebric loop error
Hi Shabina, The error suggests that you have incorrectly modeled the dynamic system, resulting in a singularity. This is ...

más de 1 año hace | 0

Cargar más