Risposto
Sliding Mode Controller for the Double Integrator
Hi @DAYAL ND Not sure if you'll see this or not. After all, this problem was posed around 12 years ago. I rarely come across SM...

oltre 2 anni fa | 0

Risposto
Assistance Needed: Solving System of Equations in MATLAB
Hi @khadija Because the system is underdetermined, the 'solve' command returned some free parameters in which you can assign va...

oltre 2 anni fa | 0

Risposto
MATLAB Answers Wish-list #6 (and bug reports)
Hi @Rik I've been enjoying the forum and appreciate the efforts to make it user-friendly. I wanted to suggest a feature that co...

oltre 2 anni fa | 0

Risposto
How do I use orbital integrators for orbital propagation of Halo orbits?
Hi @Dixing These are not solid answers because your MATLAB code has not been tested. Different numerical integration methods ex...

oltre 2 anni fa | 0

Risposto
what is the MATLAB code for Sketch the polar plot of the frequency response for the following loop transfer functions: i. Gc(s)G(s
Hi @Jerome I believe that it is fair to ask for guidance on where you can find more information to solve problems by yourself. ...

oltre 2 anni fa | 0

Risposto
How to solve the error for graph?
There are missing characters. From your code, it should be 'DE_LU'. num_simulations = 10000; %Common parameters Discount_Ra...

oltre 2 anni fa | 0

Risposto
Non linear plant equation and design the PID controller
Hi @Jay Sutariya The motion dynamics of your Z-axis robot can be expressed through the following equation: Here, the combine...

oltre 2 anni fa | 0

Risposto
Conversion to double from pid2 is not possible-optimization app
Hi @Ihsan Ullah Khalil I ran your code using the ga() tool, and it produced a set of PID gains that enable the controller to tr...

oltre 2 anni fa | 0

Risposto
Second order ordinary differential equation
Hi @Abdul I believe that 'explicit solution not found' is more of a notification than an error message. Upon closer inspection,...

oltre 2 anni fa | 0

Risposto
Error in Error in 'HPW/HPW/VSC1 Control/Current Regulator/Fuzzy Logic Controller with Ruleviewer/Fuzzy Logic Controller': Failed to evaluate mask initialization commands. Ca
Hi @Anirudh Kumar You haven't provided the FIS file for testing. Nonetheless, I generated a dummy FIS file named 'ig.fis' and s...

oltre 2 anni fa | 0

Risposto
How to get the plot from ODE
Hi @Kartik Lanjewar, There are over 50 equations in the PDF, and the ODEs appear in various places. Most forum users don't hav...

oltre 2 anni fa | 0

| accettato

Risposto
Find the solution of the coupled system of equations
Hi @Arad If you set a specific value for the variable d00, the system of 6 nonlinear equations can be solved using the fsolve()...

oltre 2 anni fa | 0

| accettato

Risposto
Tuning a PID controller to desired Overshoot, settling time and rise time
Hi @Muhammad I'm revisiting a control problem we encountered a year ago. Previously, we utilized the systune() method to establ...

oltre 2 anni fa | 0

| accettato

Risposto
Subplot with 2 stacked plots but bottom is split in 3 vertically
@HC98, Do you mean to plot them side-by-side horizontally? clearvars x = -10:0.01:10; y = cos(x); figure(1) subplot(2, 3...

oltre 2 anni fa | 0

Risposto
PID Tuning via Ziegler Nichols Method
Hi @Tom Regarding your original issue, you can improve the display of the waveform from the Simulink Scope by reducing the maxi...

oltre 2 anni fa | 1

Risposto
PID Tuning via Ziegler Nichols Method
Hi @Tom If my recollection serves me right, the Ziegler–Nichols method requires the process plant to be open-loop stable. Howev...

oltre 2 anni fa | 1

| accettato

Risposto
Temperature varying input for outdoor temperature in refrigeration cycle
Yes, technically it can be done using the From Workspace block: This block can read data from the Workspace and into into a S...

oltre 2 anni fa | 0

Risposto
How to illustrate the dynamic system output for a PID controller system?
Hi @Halil Ibrahim It appears that a simple PI controller can regulate the output to the desired reference signal. global cume ...

oltre 2 anni fa | 0

Risposto
how can in make this transfer fnunction block in simulink ?
Hi @sajad Tarverdian If your LPF has a strictly proper transfer function, you can incorporate 's*Cv' into the LPF transfer func...

oltre 2 anni fa | 1

| accettato

Risposto
Getting complex solution with Matlab ode45
Hi @Kaiwei As noted by other users, the complex-valued solution is caused by the square root term 'sqrt(B*y)' when the output y...

oltre 2 anni fa | 0

Risposto
How a varying PI parameter output by Reinforcement Learning Agent help to tune the static PI controller
Hi @轩 I believe it is scientifically logical that, when the difference between the actual level and the reference level (error)...

oltre 2 anni fa | 0

| accettato

Risposto
Matlab script to find the range of a parameter that makes the transfer function asymptotically stable?
Hi @Morgan James Sansonetti With the brute force concept, you can determine if the transfer function is stable using isstable(...

oltre 2 anni fa | 0

Risposto
I wonder how to make the lines thicker in rlocus graph
Hi @jaejin kim You can try this approach to make the lines of your loci thicker. num = [1]; den = [1 4 5 0]; K = 0:0.01:10...

oltre 2 anni fa | 1

| accettato

Risposto
Inconsistencies between using cftool and plot
Oh, I see. The reason for the inconsistency in the plot is due to the fact that the cftool app only displays 5 digits of precisi...

oltre 2 anni fa | 1

| accettato

Risposto
Problem in solving matrix diiferential equation using ode45?
Hi @Mehdi Since you already have the nicely-defined matrices, you might as well put the ODEs in the State-Space model and solve...

oltre 2 anni fa | 1

| accettato

Risposto
How to add add a disturbance term (du) within the architecture section of sisotool
Hi @John Bach I believe you cannot "add" a specific input disturbance (du) into the control system, just like you cannot "add" ...

oltre 2 anni fa | 0

| accettato

Risposto
ode45 error-time-dependent parameter
Hi @Elahe S You may not fully understand some of the MATLAB error messages if you are not a programmer or if you haven't encoun...

oltre 2 anni fa | 0

| accettato

Risposto
How to design MPC with custom estimator and optimizer
Hi @Kamal If you can design a generic state feedback controller for a plant using a custom optimization technique and a custom ...

oltre 2 anni fa | 0

| accettato

Risposto
Matlab script to find the range of a parameter that makes the transfer function asymptotically stable?
Hi @Morgan James Sansonetti Can you please write out the mathematical procedure to determine whether a transfer function is asy...

oltre 2 anni fa | 0

| accettato

Risposto
I have created a code to solve three coupled ODE but unable to plot its nature on the graph as one of the curve is imaginary .
Hi @Yogesh You can plot the real part and the imaginary part separately to verify if this meets your requirements. alpha=3.55*...

oltre 2 anni fa | 0

| accettato

Carica altro