Answered
Optimization Problem for 3-Element Windkessel Model. Need help with improving my optimization and looking for better optimization alogrithims.
Hi @Hussam I also haven't been able to obtain a better identified system for the 3-element Windkessel Model. However, it would ...

2 years ago | 0

Answered
Why am I not able to get desired output of -40V.
Hi @ChoonHan I have constructed a full-order state observer in Simulink based on the information you provided, and it yields th...

2 years ago | 0

| accepted

Answered
How to plot a phase portrait using Runge-Kutta for a system of ODEs?
Hi @Iris Are you expecting the followng Phase Portraits? odefcn = @(t, y) [y(2); % y' = z ...

2 years ago | 0

| accepted

Answered
Hi, anybody ever done a simulation on a quarter car model suspension system to analyze the vehicle behavior when encountering a speed bump?
Hi @sadat golz I wanted to bring to your attention that it seems you accidentally deleted the graph that you had attached yeste...

2 years ago | 0

| accepted

Answered
Matlab showing 0 instead of small value
Hi @Ismita When examining the flow of execution, you will notice that the 'pressure_CGS' vector is initialized with twenty-four...

2 years ago | 0

Answered
Hello, I would like to model my equation by Matlab Simulink
Hi @Zaid Typically, those who primarily work with pure Python may encounter difficulties when learning to use Simulink at the b...

2 years ago | 1

| accepted

Answered
How to use lqr for R=0?
Why would you want to set the input-weighted matrix R to zero? If you set R to zero in the LQR control gain design, it means...

2 years ago | 2

| accepted

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

2 years ago | 2

| accepted

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

2 years ago | 0

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

2 years ago | 1

| accepted

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 1

| accepted

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 0

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

2 years ago | 1

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 1

| accepted

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

2 years ago | 0

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

2 years ago | 1

| accepted

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

2 years ago | 1

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

2 years ago | 1

| accepted

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

2 years ago | 0

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

2 years ago | 1

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

2 years ago | 0

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

2 years ago | 2

| accepted

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

2 years ago | 0

Load more