Risposto

how can I get the transfer function of this equation using Matlab: dy/dx + K*sqrt(y)-C =0

Hi @Reuel The square root is a nonlinear term in the system, making the Coupled Tank System nonlinear. Consequently, the transf...

how can I get the transfer function of this equation using Matlab: dy/dx + K*sqrt(y)-C =0

Hi @Reuel The square root is a nonlinear term in the system, making the Coupled Tank System nonlinear. Consequently, the transf...

3 mesi fa | 0

| accettato

Risposto

Inverse model for feedforward control

Hi @Martin As the target trajectory contains frequency components, a factor of 600, rather than 6, must be employed in this sec...

Inverse model for feedforward control

Hi @Martin As the target trajectory contains frequency components, a factor of 600, rather than 6, must be employed in this sec...

3 mesi fa | 0

Risposto

Simulink model doesn't oscillate

Hi @Andrei Rotaru According to the principle of Occam's Razor, the most likely explanation for the lack of oscillation in the a...

Simulink model doesn't oscillate

Hi @Andrei Rotaru According to the principle of Occam's Razor, the most likely explanation for the lack of oscillation in the a...

3 mesi fa | 1

| accettato

Risposto

Cannot solve algebraic loop involving

% Derivative of state '1' in block 'NAM_Mo_phong_xe/Equation1_ddgama1/Integrator' at time % 0.0030900000000000003 is not finit...

Cannot solve algebraic loop involving

% Derivative of state '1' in block 'NAM_Mo_phong_xe/Equation1_ddgama1/Integrator' at time % 0.0030900000000000003 is not finit...

3 mesi fa | 0

Risposto

Edit poles and zeros in root locus design editor or bode editor

Hi @Nandhini I prefer mathematical model-based design by formulas that satisfies certain stability properties and achieves spec...

Edit poles and zeros in root locus design editor or bode editor

Hi @Nandhini I prefer mathematical model-based design by formulas that satisfies certain stability properties and achieves spec...

3 mesi fa | 0

Risposto

Inverse model for feedforward control

Hi @Martin Transfer function: Math model in continuous-time: This linear 1st-order ODE is 100% solvable and the ideal fee...

Inverse model for feedforward control

Hi @Martin Transfer function: Math model in continuous-time: This linear 1st-order ODE is 100% solvable and the ideal fee...

3 mesi fa | 1

Risposto

One function is greater than other

Hi @Fatima Majeed The search below covers this range . z = linspace(0, exp(1), 3001); fun = @(z) z - 8.02*log(z) - (3.359/2...

One function is greater than other

Hi @Fatima Majeed The search below covers this range . z = linspace(0, exp(1), 3001); fun = @(z) z - 8.02*log(z) - (3.359/2...

3 mesi fa | 0

Risposto

Attempt to plot an piecewise function

S = @(x) ( (x <= -2) ) .* 0 + ... ( (x > -2) & (x <= -1) ) .* (1/4 * (2 + x).^3) + ... ( (x > -1) & (x <= 0...

Attempt to plot an piecewise function

S = @(x) ( (x <= -2) ) .* 0 + ... ( (x > -2) & (x <= -1) ) .* (1/4 * (2 + x).^3) + ... ( (x > -1) & (x <= 0...

3 mesi fa | 0

| accettato

Risposto

How to solve a system of nonlinear differential equation that follows some pattern

Hi @MADHAN The looping approach is given as follows: %% for-loop approach function dx = ode1(t, x, n) dx = zeros(n,...

How to solve a system of nonlinear differential equation that follows some pattern

Hi @MADHAN The looping approach is given as follows: %% for-loop approach function dx = ode1(t, x, n) dx = zeros(n,...

3 mesi fa | 1

Risposto

Fuzzy control problem: input 2 expects a value in range [-50 50], but has a value of 1035.94

Hi Rafi, Based on your Simulink model, Input 2 refers to the time derivative of the error signal. In the fuzzy system, you ha...

Fuzzy control problem: input 2 expects a value in range [-50 50], but has a value of 1035.94

Hi Rafi, Based on your Simulink model, Input 2 refers to the time derivative of the error signal. In the fuzzy system, you ha...

3 mesi fa | 0

Risposto

Plotting Phase Portrait of Duffing Equation

Hi @Athanasios Paraskevopoulos This method utilizes the 'arrow()' function, which was created by Professor @Erik Johnson. You c...

Plotting Phase Portrait of Duffing Equation

Hi @Athanasios Paraskevopoulos This method utilizes the 'arrow()' function, which was created by Professor @Erik Johnson. You c...

4 mesi fa | 3

| accettato

Risposto

The solution to the delayed differential equations using the code dde23 represents the solution by the third order Runge-Kutta method or what?

Hi @mohammed, Your guess is correct. If you click on the link to the dde23's Algorithm section, you will find that it states "d...

The solution to the delayed differential equations using the code dde23 represents the solution by the third order Runge-Kutta method or what?

Hi @mohammed, Your guess is correct. If you click on the link to the dde23's Algorithm section, you will find that it states "d...

4 mesi fa | 0

| accettato

Risposto

Error using FuzzyInferenceSystem/addOutput (line 866) Upper range value for variable must be greater than lower range value. Error in rulepruning (line 24) fis = addOutput(fi

Hi @Michael Bamidele The syntax to add output membership functions is incorrect. Use 'addMF()' instead. However, it is highly r...

Error using FuzzyInferenceSystem/addOutput (line 866) Upper range value for variable must be greater than lower range value. Error in rulepruning (line 24) fis = addOutput(fi

Hi @Michael Bamidele The syntax to add output membership functions is incorrect. Use 'addMF()' instead. However, it is highly r...

4 mesi fa | 1

| accettato

Risposto

Using state space in simulink

Hi @Marina Since you know the initial output value, the idea is to convert the Identified State-Space to an equivalent Canonica...

Using state space in simulink

Hi @Marina Since you know the initial output value, the idea is to convert the Identified State-Space to an equivalent Canonica...

4 mesi fa | 0

Risposto

PID controller tuning for time-varying input

Hi @AleF Without more context about the specific system you are trying to control, it is difficult for us to provide targeted r...

PID controller tuning for time-varying input

Hi @AleF Without more context about the specific system you are trying to control, it is difficult for us to provide targeted r...

4 mesi fa | 0

Risposto

How can I divide by the function variable in a Simulink equation?

Hi @Louis In the 2nd-order ODE, the independent variable 'r' can represent the radius of the system or another relevant paramet...

How can I divide by the function variable in a Simulink equation?

Hi @Louis In the 2nd-order ODE, the independent variable 'r' can represent the radius of the system or another relevant paramet...

4 mesi fa | 0

| accettato

Risposto

In this work, I am trying to connect two systems by injecting a delayed wave of the first system into the second system. In this system, there are several problems, including:

Hi @mohammed Both @Torsten and I have been trying to understand the problem you are attempting to solve. However, it appears th...

In this work, I am trying to connect two systems by injecting a delayed wave of the first system into the second system. In this system, there are several problems, including:

Hi @mohammed Both @Torsten and I have been trying to understand the problem you are attempting to solve. However, it appears th...

4 mesi fa | 0

Risposto

エンジントルクの求め方

Dear @雄祐 三浦-san The formula to calculate the torque produced by the engine in this specific example, is given in Equation 4, as...

エンジントルクの求め方

Dear @雄祐 三浦-san The formula to calculate the torque produced by the engine in this specific example, is given in Equation 4, as...

4 mesi fa | 0

Risposto

In this work, I am trying to connect two systems by injecting a delayed wave of the first system into the second system. In this system, there are several problems, including:

Hi @mohammed Based on the information you have provided, it appears the two systems could potentially be combined and then solv...

In this work, I am trying to connect two systems by injecting a delayed wave of the first system into the second system. In this system, there are several problems, including:

Hi @mohammed Based on the information you have provided, it appears the two systems could potentially be combined and then solv...

4 mesi fa | 0

| accettato

Risposto

Enforce Kinematic Constraint in Initial Value Problem ode45()

Hi @Jonathan Frutschy Visualizing a system with 600 masses can be challenging. However, I believe the kinematic constraint for ...

Enforce Kinematic Constraint in Initial Value Problem ode45()

Hi @Jonathan Frutschy Visualizing a system with 600 masses can be challenging. However, I believe the kinematic constraint for ...

4 mesi fa | 0

| accettato

Risposto

tuning model predictive controller

Hi @Mounira This is often a problem where designers begin with what they are trying to end with. Similar to some LQR practition...

tuning model predictive controller

Hi @Mounira This is often a problem where designers begin with what they are trying to end with. Similar to some LQR practition...

4 mesi fa | 0

| accettato

Risposto

I'm trying to solve two separate systems using ODE23 while controlling the number of indexes so that the indexes are equal for both systems, but I couldn't. Can you help? Than

Hi @mohammed Please review if this approach is accceptable. tspan = linspace(0, 5, 251); opt = odeset('RelTol',1e-3);...

I'm trying to solve two separate systems using ODE23 while controlling the number of indexes so that the indexes are equal for both systems, but I couldn't. Can you help? Than

Hi @mohammed Please review if this approach is accceptable. tspan = linspace(0, 5, 251); opt = odeset('RelTol',1e-3);...

4 mesi fa | 0

| accettato

Risposto

Solve an ODE with the parameters defined in the function changing in a for loop in the main script

Hi @Paolo Trenta Let me know if the looping approach I provided is helpful. By the way, your original proportional-only control...

Solve an ODE with the parameters defined in the function changing in a for loop in the main script

Hi @Paolo Trenta Let me know if the looping approach I provided is helpful. By the way, your original proportional-only control...

4 mesi fa | 1

| accettato

Risposto

How i use break in continues data in couple differential? it is possible?

Hi @cindyawati cindyawati Please review the plots and verify if the microglia and the drugs are correctly injected in your Drug...

How i use break in continues data in couple differential? it is possible?

Hi @cindyawati cindyawati Please review the plots and verify if the microglia and the drugs are correctly injected in your Drug...

4 mesi fa | 0

| accettato

Risposto

Ziegler Nichols PID Method

Hi @LORIS IACOBAN I revisit your problem. I'm unsure if you are looking for something like this: %% original system (marginall...

Ziegler Nichols PID Method

Hi @LORIS IACOBAN I revisit your problem. I'm unsure if you are looking for something like this: %% original system (marginall...

4 mesi fa | 0

Risposto

HOW TO CREATE TSUNAMI MODEL

Hi @Fadilla Neisa Looking for this? %% Tsunami model syms L H depthratio g positive syms x t w T R U(x) L1 =...

HOW TO CREATE TSUNAMI MODEL

Hi @Fadilla Neisa Looking for this? %% Tsunami model syms L H depthratio g positive syms x t w T R U(x) L1 =...

4 mesi fa | 0

Risposto

Fuzzy control problem:(1)input 2 expects a value in range [-1.5 1.5], but has a value of 4.36559e+24;

Hi @柯 This following issue does not affect the original "derivative kick" problem described in this thread. So, it should be tr...

Fuzzy control problem:(1)input 2 expects a value in range [-1.5 1.5], but has a value of 4.36559e+24;

Hi @柯 This following issue does not affect the original "derivative kick" problem described in this thread. So, it should be tr...

4 mesi fa | 0

Risposto

Transfer function derviation for a system

Hi @DP From the differential equation, it can be rearranged to have the control term and the disturbance term. In state-...

Transfer function derviation for a system

Hi @DP From the differential equation, it can be rearranged to have the control term and the disturbance term. In state-...

4 mesi fa | 0

Risposto

Keep underscore symbol using latex as interpreter

plot(0, 0, 'o', 'markersize', 20), grid on legend('{$03 \textunderscore$May$\textunderscore 2024 \textunderscore$NoHS$\textunde...

Keep underscore symbol using latex as interpreter

plot(0, 0, 'o', 'markersize', 20), grid on legend('{$03 \textunderscore$May$\textunderscore 2024 \textunderscore$NoHS$\textunde...

4 mesi fa | 0

Risposto

Find natural equation w with 5 dof

Hi @Trong Nhan Tran Based on the diagram and your equations, the natural frequencies of the system can be computed as follows: ...

Find natural equation w with 5 dof

Hi @Trong Nhan Tran Based on the diagram and your equations, the natural frequencies of the system can be computed as follows: ...

4 mesi fa | 0

| accettato