Risposto
How to simulate a non linear system
Hi @Gianluca Di pietro, You have the option to explore and experiment with it on your own. In this case, I used a straightforw...

16 giorni fa | 0

Risposto
Unable to tune a pitch-damper autopilot gains with looptune
Hi @Leonardo Molino The transfer function of your aircraft appears to be a 5th-order system. Given its complexity, it's not sur...

16 giorni fa | 1

Risposto
Simulation of control system with only matlab script withou simulink
Hi @Kamal Below, you will notice a slight perceptible difference in the results between the Ideal PID controller and the PID Co...

16 giorni fa | 0

Risposto
ANFIS Model, tips about improving performance.
Hi @Jocelyn Matus Ancavil ANFIS typically performs optimally with continuous datasets. However, your dataset seems to consist o...

17 giorni fa | 1

| accettato

Risposto
Simulation of control system with only matlab script withou simulink
Hi @Kamal I've developed a custom function called 'pidController()' to mimic the PID controller based on the control equation p...

17 giorni fa | 0

Risposto
one of the terms "Rho_net" on the RHS of an set is varying with time over the tspan. How do I implement the set of the ODEs such that the term updates at every time step?
Hi @Daniel The majority of your code remains unchanged. I simply relocated your ODEs into a function named 'dYdt' and incorpora...

18 giorni fa | 0

Risposto
Newton Raphson gives answers divided by 0
Hi @Jean-Paul During the computation of M, certain elements involve divisions by . In the line 'dx = subs(M, xV, x)', an attemp...

18 giorni fa | 0

| accettato

Risposto
Can I use one fuzzy's output to be one of the input of second fuzzy system?
Hi @Ko Ko It is indeed possible to connect the output of fis1 to the first input of fis2, as demonstrated in this example. This...

18 giorni fa | 0

Risposto
How to simulate a non linear system
Hi @Gianluca Di pietro You should be able to compare the linear and nonlinear systems in the code provided by @Walter Roberson ...

21 giorni fa | 0

| accettato

Risposto
designing a PID for a rotating shaft
Hi @Samuel Adshead Based on your non-specific descriptions or the control problem above, you generally need to get from here ...

22 giorni fa | 0

Risposto
Why am I receiving an error for "odeToVectorField" when I am trying to convert second order differential equations to 1st order differential equations?
Hi @Akekaphop Kesavadhana Previously, theta1 and theta2 were created as scalar variables when they should be functions of time....

22 giorni fa | 0

| accettato

Risposto
Find a controller for a feedback-loop
Hi @Davide Sometimes, it can be time-consuming to find a suitable controller that stabilizes unstable non-minimum phase systems...

23 giorni fa | 1

| accettato

Risposto
Circular shifting or rotating structure of array elements
Hi @NALLARASU KRISH Me, first time using circshift(). So, I'm not entirely sure about your intention. Are you suggesting to swa...

24 giorni fa | 1

Risposto
Simulation of control system with only matlab script withou simulink
Hi @Kamal, The Reactor system seems to exhibit stability even without any control inputs (u1 = u4 = 0). I'm curious about what ...

24 giorni fa | 0

| accettato

Risposto
How to solve a system of ODEs using ode23s with multiple inputs.
Hi @Ron_S I simply wanted to ensure that the code was functioning correctly with the given external inputs. Therefore, I didn't...

25 giorni fa | 1

Risposto
plotting a simple constant
Hi @Robert Before I discovered other special non-math functions like ones() and yline(), I used to rely on certain math tricks,...

26 giorni fa | 0

Risposto
How to find transfer function to a second order ODE having a constant term?
Hi @PONNADA This type of differential equation is commonly encountered in examples involving an ideal undamped mass-spring syst...

27 giorni fa | 0

| accettato

Risposto
ANFIS EDIT out of memory
Hi @Antonio Abela You mentioned that there are 10 inputs and 1 output. However, in the CSV file, there are 15 columns, with eac...

27 giorni fa | 0

Risposto
How can I adjust the PID values in Simulink?
Hi @Elli I faced difficulties in effectively stabilizing the unstable 3rd-order system using solely the PID controller. Even th...

27 giorni fa | 0

Risposto
How can I adjust the PID values in Simulink?
Hi @Elli, The 3rd-order linearized system is unstable because the second transfer function has a pole located in the right half...

28 giorni fa | 0

| accettato

Risposto
How to run an ODE Function with a variable outside of the Differential Equation
@Adam, Do you expect the results as shown? figure hold on; R0 = .3; L = 2*pi*R0; Q = 0.01; x = 0:0.001:L; % I = - 4e8...

29 giorni fa | 0

| accettato

Risposto
2% and 5% settling times
Hi @Daniel The intellectual explanation for the discrepancy could be that one of the settling times was measured incorrectly. T...

29 giorni fa | 0

Risposto
Solution of Growth problem
% y0 is a 6 x 1 vector of initial city populations y0 = [100; 300; 500; 125; 100; 200]; % t is the number of years of growth ...

circa un mese fa | 1

| accettato

Risposto
plot with text function
@Francesco, do you want to display the figure without tick marks? ax = axes(figure()); % create axes handle plot(0:10); xl...

circa un mese fa | 0

Risposto
trying to write complex equation with parentheses
Hi @ali When inputting a lengthy equation with multiple parentheses into the programming code, I usually adopt a "divide-and-co...

circa un mese fa | 0

Risposto
Problem facing in solving xdot=Ax system when A is unstable.
Hi @Hemanta Hazarika This is an educated guess. If the unstable state matrix is and the initial values are , then the error be...

circa un mese fa | 0

| accettato

Risposto
Need to fit a curve to some data points
Hi @ISh This Rational function model (Rat11) precisely fits the three data points. format long g %% Data xdat = [ 1 2 100...

circa un mese fa | 0

Risposto
Need to fit a curve to some data points
Here's another candidate. An exponential decay function model should align with the description you provided. Try learning how ...

circa un mese fa | 0

| accettato

Risposto
Can I trust this closed loop response and include it as a final result in my Thesis?
Hi @Ayesha, You can actually verify the result (from Check Bode Characteristics block) with the Bode plot of the Closed-loop Sy...

circa un mese fa | 0

| accettato

Carica altro