回答済み
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日 前 | 0

回答済み
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日 前 | 1

回答済み
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日 前 | 0

回答済み
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日 前 | 1

| 採用済み

回答済み
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日 前 | 0

回答済み
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日 前 | 0

回答済み
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日 前 | 0

| 採用済み

回答済み
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日 前 | 0

回答済み
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日 前 | 0

| 採用済み

回答済み
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日 前 | 0

回答済み
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日 前 | 0

| 採用済み

回答済み
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日 前 | 1

| 採用済み

回答済み
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日 前 | 1

回答済み
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日 前 | 0

| 採用済み

回答済み
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...

26日 前 | 1

回答済み
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日 前 | 0

回答済み
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日 前 | 0

| 採用済み

回答済み
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日 前 | 0

回答済み
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日 前 | 0

回答済み
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日 前 | 0

| 採用済み

回答済み
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日 前 | 0

| 採用済み

回答済み
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日 前 | 0

回答済み
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 ...

約1ヶ月 前 | 1

| 採用済み

回答済み
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...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

| 採用済み

回答済み
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...

約1ヶ月 前 | 0

回答済み
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 ...

約1ヶ月 前 | 0

| 採用済み

回答済み
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...

約1ヶ月 前 | 0

| 採用済み

さらに読み込む