답변 있음

Algorithm for rlocus (internal code of rlocus)

Hi @Pushkar K You can browse through the folders, or you can type the following to view the code: edit rlocus

Algorithm for rlocus (internal code of rlocus)

Hi @Pushkar K You can browse through the folders, or you can type the following to view the code: edit rlocus

약 2달 전 | 1

답변 있음

How to solve nonlinear equation?

Hi @GUANGHE HUO The nonlinear matrix ODE with time-varying stiffness matrix K can be transformed into a nonlinear state-space m...

How to solve nonlinear equation?

Hi @GUANGHE HUO The nonlinear matrix ODE with time-varying stiffness matrix K can be transformed into a nonlinear state-space m...

약 2달 전 | 0

| 수락됨

답변 있음

How can i calculate the PI controller gains from my plant transfer function

Hi @Mads Olesen It appears that your intuition is right. The P-only controller is sufficient because the steady-state error is ...

How can i calculate the PI controller gains from my plant transfer function

Hi @Mads Olesen It appears that your intuition is right. The P-only controller is sufficient because the steady-state error is ...

약 2달 전 | 0

답변 있음

I've tried to simulate a catalytic reactor by solving 5 second order differential non-linear equations. I've used 'odetovectorfield' which I'm not pretty sure about that

Hi @Mahdi The system can be run now. However, the simulation shows that the system blows up, which may indicate that the system...

I've tried to simulate a catalytic reactor by solving 5 second order differential non-linear equations. I've used 'odetovectorfield' which I'm not pretty sure about that

Hi @Mahdi The system can be run now. However, the simulation shows that the system blows up, which may indicate that the system...

약 2달 전 | 0

답변 있음

Gyroscope simulation using State space

Hi @Saleem Jallet, You didn't provide the transfer function of the gyroscope with sensor dynamics. In short, you need to prov...

Gyroscope simulation using State space

Hi @Saleem Jallet, You didn't provide the transfer function of the gyroscope with sensor dynamics. In short, you need to prov...

약 2달 전 | 0

| 수락됨

답변 있음

pendulum with air resistance in simulink

Hi @Jordi van Selm Yes, your model is correct. In fact, the pendulum equation can be rewritten as a system of 1st-order ODEs: ...

pendulum with air resistance in simulink

Hi @Jordi van Selm Yes, your model is correct. In fact, the pendulum equation can be rewritten as a system of 1st-order ODEs: ...

약 2달 전 | 0

| 수락됨

답변 있음

Plot of three coupled oscillator.

Hi @Haya Ali I don't know what oscillators are since you didn't provide the math equations to compare with. However, on the pro...

Plot of three coupled oscillator.

Hi @Haya Ali I don't know what oscillators are since you didn't provide the math equations to compare with. However, on the pro...

약 2달 전 | 0

| 수락됨

답변 있음

Sinusodial Wave for PID controller

Hi @Juan Barragan After simplifying the expression, what does mean? If you want to simulate the system in transfer functions,...

Sinusodial Wave for PID controller

Hi @Juan Barragan After simplifying the expression, what does mean? If you want to simulate the system in transfer functions,...

약 2달 전 | 0

답변 있음

segway simulation on Inclined plane

Hi @Christopher You can probably find about the modeling knowledge in this article, "A Control Method of Inclined Inverted Pend...

segway simulation on Inclined plane

Hi @Christopher You can probably find about the modeling knowledge in this article, "A Control Method of Inclined Inverted Pend...

약 2달 전 | 0

| 수락됨

답변 있음

calculate approximate derivative in matlab

Hi @Minh Not sure if you are looking for this syms x y = log(x) dydx = diff(y) However, please check the data in the Tab...

calculate approximate derivative in matlab

Hi @Minh Not sure if you are looking for this syms x y = log(x) dydx = diff(y) However, please check the data in the Tab...

약 2달 전 | 1

답변 있음

Solving non linear ode using ode45

Hi @Shubham, I don't know how you derived this, but after rearranging the equation you can see the state variable is at ...

Solving non linear ode using ode45

Hi @Shubham, I don't know how you derived this, but after rearranging the equation you can see the state variable is at ...

약 2달 전 | 0

답변 있음

Export transfer functions from Control System Design App

Hi @Gili Check if you can click <Export> and able to select the desired model LoopTransfer_C from list in the Export Model dial...

Export transfer functions from Control System Design App

Hi @Gili Check if you can click <Export> and able to select the desired model LoopTransfer_C from list in the Export Model dial...

약 2달 전 | 0

답변 있음

Runge-kutta 4

Hi @Stanley Umeh I requested you to show the mathematics of RK4 so that you can learn about how the algorithm works as well as ...

Runge-kutta 4

Hi @Stanley Umeh I requested you to show the mathematics of RK4 so that you can learn about how the algorithm works as well as ...

약 2달 전 | 0

답변 있음

How to find the x, y range of values for a multivariable function using optimization?

Hi @Haider, It is probably best to show your professor these plots and asks for guidance. A picture is worth a thousand words; ...

How to find the x, y range of values for a multivariable function using optimization?

Hi @Haider, It is probably best to show your professor these plots and asks for guidance. A picture is worth a thousand words; ...

약 2달 전 | 0

답변 있음

Adaptive Control Law Design, s-function not working, please help

Hi @Farhan Manzoor Let us know if the following suggestions works. Step 1: In all S-function Blocks, leave the field of the S-...

Adaptive Control Law Design, s-function not working, please help

Hi @Farhan Manzoor Let us know if the following suggestions works. Step 1: In all S-function Blocks, leave the field of the S-...

약 2달 전 | 0

답변 있음

For this question, my graph didn't appear anything... Can anyone help me to solve this problem??

Hi @Muhammad Huzayl Rais If you want to plot the function over a region , then you can try something like this. x = linspace(...

For this question, my graph didn't appear anything... Can anyone help me to solve this problem??

Hi @Muhammad Huzayl Rais If you want to plot the function over a region , then you can try something like this. x = linspace(...

약 2달 전 | 0

| 수락됨

답변 있음

unit step disturbance at a time of 40 seconds

Hi @MUHAMED SIDIBEH The closed-loop transfer function for Y(s)/D(s) is given by The following shows how to compute the compa...

unit step disturbance at a time of 40 seconds

Hi @MUHAMED SIDIBEH The closed-loop transfer function for Y(s)/D(s) is given by The following shows how to compute the compa...

약 2달 전 | 0

답변 있음

Out of memory when using ode45(@t,x)

Hi @mohammed tifr The desired control torques cannot be integrated directly in and , because the actual torques are delivered ...

Out of memory when using ode45(@t,x)

Hi @mohammed tifr The desired control torques cannot be integrated directly in and , because the actual torques are delivered ...

약 2달 전 | 0

답변 있음

Why integrator output is always zero?

Hi @昕毅 Because the output rises very slowly when the time second. This is the expected result. Note that the y-axis is scal...

Why integrator output is always zero?

Hi @昕毅 Because the output rises very slowly when the time second. This is the expected result. Note that the y-axis is scal...

약 2달 전 | 1

| 수락됨

답변 있음

Differential Equations with Inputs (Tank Draining Problem)

Hi @Quinlan Connell & @QUINLAN You can also use the real() function to obtain only the Real part of the complex number. % Para...

Differential Equations with Inputs (Tank Draining Problem)

Hi @Quinlan Connell & @QUINLAN You can also use the real() function to obtain only the Real part of the complex number. % Para...

약 2달 전 | 0

답변 있음

Compute the roots of a general nth-degree polynomial

Hi @Jiapeng The following article shows you a few methods to find the roots of a polynomial. https://www.mathworks.com/help/ma...

Compute the roots of a general nth-degree polynomial

Hi @Jiapeng The following article shows you a few methods to find the roots of a polynomial. https://www.mathworks.com/help/ma...

약 2달 전 | 0

| 수락됨

답변 있음

'Matlab says that the problem is at (t), i want to use ode45

Hi @Eleftherios Guess you probably want to view the Lorenz attractor. [t, x] = ode45(@odefun, [0 100], [1 1 1]); plot3(x(:,1)...

'Matlab says that the problem is at (t), i want to use ode45

Hi @Eleftherios Guess you probably want to view the Lorenz attractor. [t, x] = ode45(@odefun, [0 100], [1 1 1]); plot3(x(:,1)...

약 2달 전 | 0

답변 있음

Matlab R2022a: How to obtain the predicted values given the training and test observations with the neuro-fuzzy method?

Hi @jamal numan "data" was in your evalfis() but the one in the Workspace is "Data". Also, the syntax is now because Input arg...

Matlab R2022a: How to obtain the predicted values given the training and test observations with the neuro-fuzzy method?

Hi @jamal numan "data" was in your evalfis() but the one in the Workspace is "Data". Also, the syntax is now because Input arg...

약 2달 전 | 1

| 수락됨

답변 있음

MATLAB doesn't plot my function

Hi @Pedro Almeida You probably want to plot like this? y = @(x) - sin(x); z = @(x) x.^2; fun = @(x) y(x) - z(x); ...

MATLAB doesn't plot my function

Hi @Pedro Almeida You probably want to plot like this? y = @(x) - sin(x); z = @(x) x.^2; fun = @(x) y(x) - z(x); ...

약 2달 전 | 2

답변 있음

Comparisons of numerical solution methods

Hi @Enrico Incardona, Here is the comparison between the solution by ode45 and the solution by Forward_Euler. As mentioned pre...

Comparisons of numerical solution methods

Hi @Enrico Incardona, Here is the comparison between the solution by ode45 and the solution by Forward_Euler. As mentioned pre...

약 2달 전 | 1

| 수락됨

답변 있음

Error using fmincon Supplied objective function must return a scalar value

HI @SWASTIK SAHOO The error message says that your objective function "myfunc()" must return a scalar value. Perhaps the trapz(...

Error using fmincon Supplied objective function must return a scalar value

HI @SWASTIK SAHOO The error message says that your objective function "myfunc()" must return a scalar value. Perhaps the trapz(...

약 2달 전 | 0

| 수락됨

답변 있음

Second order differential equation with large matrices

Hi @David Togonidze SInce this is a linear system, if you have the Control System Toolbox, then you can manipulate the matrix d...

Second order differential equation with large matrices

Hi @David Togonidze SInce this is a linear system, if you have the Control System Toolbox, then you can manipulate the matrix d...

2달 전 | 2

| 수락됨

답변 있음

Control System Steady State Error for VTOL

Hi @Abdul Rahman Alam The transfer function between the error signal and the input signal is defined by where is the clos...

Control System Steady State Error for VTOL

Hi @Abdul Rahman Alam The transfer function between the error signal and the input signal is defined by where is the clos...

2달 전 | 1

| 수락됨

답변 있음

How can i calculate the PI controller gains from my plant transfer function

Hi @Mads Olesen You can try this. But use a small combination pool. From the previous simulations, it seems that Kp has a mor...

How can i calculate the PI controller gains from my plant transfer function

Hi @Mads Olesen You can try this. But use a small combination pool. From the previous simulations, it seems that Kp has a mor...

2달 전 | 0

답변 있음

Inputting a time varying equation into system in simulink

Hi @Reed Smith Edit #2: As suggested in my original Answer, you can use the Clock to generated the time t vector, so that you c...

Inputting a time varying equation into system in simulink

Hi @Reed Smith Edit #2: As suggested in my original Answer, you can use the Clock to generated the time t vector, so that you c...

2달 전 | 1

| 수락됨