Risposto
step response in 3 scenarios: setting the initial reference voltage, shifting to another output voltage level
Hi @mostafa jabbari Please note that only the first two stages can be simulated since it's unclear through which channel the di...

circa un mese fa | 1

| accettato

Risposto
I am trying to solve a system of three differential equations simultaneously
Hi @Erin Summerlin-Donofrio The third differential equation can be rearranged conveniently, allowing all three state equations ...

circa un mese fa | 0

Risposto
Writing a function that accepts input argument that is one of 3 things
Hi @Kyle Weaver The assignment typically requires designing the Flow of Execution before starting to write the code, but it doe...

circa un mese fa | 1

| accettato

Risposto
need help with state space input error
Hi @Ossama You have entered the input matrix B as a single column vector, causing a dimension mismatch. Consequently, the state...

circa un mese fa | 0

Risposto
Solving a system of differential equations with a variable stored in an array
Hi @Mahima In addition to the standard integration methods suggested by @Star Strider and @Torsten, you can solve the SIR model...

circa un mese fa | 0

Risposto
Recursive modeling in Simulink
Hi @Yannick Ongena If the population model can be represented as a discrete state-space system, then the appropriate approach w...

circa un mese fa | 1

| accettato

Risposto
How Approximate Model FOPDT
Hi @LORIS IACOBAN Considering that the open-loop model lacks the characteristic S-shaped process reaction curve and exhibits os...

circa un mese fa | 0

Risposto
I need help finding PM and GM for this system.
Hi @marko rois If you know the dynamic system 'sys', which is commonly described using modeling commands like as tf(), zpk(), a...

circa un mese fa | 0

| accettato

Risposto
Why do I Receive this error: Error using odearguments ODES_LIN must return a column vector.
Hi @Maureen It seems that you intend to generate the exogenous disturbance and noise signals as the sum of sine waves. Specific...

circa un mese fa | 0

Risposto
a nonlinear system and its control input in simulink
Hi @controlEE While I cannot evaluate the MATLAB code from the image, it seems that in Equation (6) represents a definite inte...

circa un mese fa | 1

Risposto
How do I sort the issue of infinite derivative of a state in a PI controller?
Hi @K. Amrit When solving differential equations in Simulink, it's important to prevent the state from going haywire. Consider ...

circa un mese fa | 0

Risposto
İ wrote a code but idk if its correct can u check it
Hi @Bünyamin Bora The formulas are generally correct. However, there is a technical issue worth considering. Have you ever wond...

circa un mese fa | 0

Risposto
Optimisation PID Using Sliding mode script
Hi @Tarek Are you still working on this? I revisited this control problem and discovered that a PID controller can be tuned to ...

circa un mese fa | 0

Risposto
Fuzzy Logic controller as a switch
Hi @Maria Theresa Typically, generating discrete '1' / '0' values using a Mamdani FIS can be challenging due to the intricate d...

circa un mese fa | 1

| accettato

Risposto
Trying to adjust weighting on PART of a sigmoid fit
Hi @ROBERTA The data points do not exhibit a symmetrical sigmoidal trend, suggesting that the commonly used logistic function m...

circa un mese fa | 0

Risposto
Unable to tune a pitch-damper autopilot gains with looptune
Hi @Leonardo Molino, Ogata's formula for the design of the Prefilter is effective, but it only applies when the Compensator i...

circa un mese fa | 1

| accettato

Risposto
Unable to tune a pitch-damper autopilot gains with looptune
Hi @Leonardo Molino If you can tolerate a slightly slower response, the unconventional PID controller can still achieve a relat...

circa un mese fa | 1

Risposto
Evaluate Settling Time,Constant Time of my System
Hi @Gianluca Di pietro To observe the state responses, you can manually adjust the design values for the state and input-weight...

circa un mese fa | 1

| accettato

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

circa un mese 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...

circa un mese 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...

circa un mese 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...

circa un mese 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...

circa un mese 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...

circa un mese 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...

circa un mese 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...

circa un mese 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 ...

circa 2 mesi 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 ...

circa 2 mesi 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....

circa 2 mesi fa | 0

| accettato

Carica altro