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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 1

| accepted

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 0

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

2 years ago | 1

| accepted

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

2 years ago | 1

| accepted

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

2 years ago | 1

| accepted

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

2 years ago | 0

| accepted

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

2 years ago | 0

| accepted

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

2 years ago | 0

| accepted

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

2 years ago | 0

| accepted

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

2 years ago | 0

| accepted

Answered
Undefined function 'dksyn' for input arguments of type 'ss'. Error in Report8 (line 41) [k, cl, bnd] = dksyn ( G, 1, 1)
Hi @shahin, I'm unfamiliar with the MU controller. Perhaps you are referring to the synthesis technique used to determine the ...

2 years ago | 0

Answered
I am trying to solve this coupled ODE from the past few days using ode45 but there's an error at ode45 function which I am unable to understand .
Hi @Yogesh The first issue is that the free parameter "f" must be defined before its inclusion in the ODEs. All constants and p...

2 years ago | 0

| accepted

Answered
Differential Equation Problem using ODE45
Hi @NURUL AINA SYAHIRAH First things first, check the values computed by the differential equations. All differential states re...

2 years ago | 0

| accepted

Answered
Issues tuning pid using simulink
Hi @Paolo Your question on the control problem went unnoticed for more than 1 month. The plant system has a zero (s = 0.1) in t...

2 years ago | 0

Answered
Rules formation method using fuzzy c means clustering method.
Hi @Mamta Here is an example to demonstrate how to change the names of the membership functions to 'low,' 'med,' and 'high' for...

2 years ago | 1

Answered
I need to find the transfer function of the close loop with the two variables gains using Simulink and math formulation
Hi @ahmad salahat This is not a complete solution but rather guidance to assist in finding the closed-loop transfer function of...

2 years ago | 0

Answered
how to solve this differential equation within acceptable time complexity , ode45or ode23 seems uncapable of solving this
Hi @子青 I used ode15s, and it appears that the system becomes very stiff around the time 0.0015. The equations are quite long. P...

2 years ago | 0

| accepted

Answered
Rules formation method using fuzzy c means clustering method.
Hi @Mamta, Here is the 3rd answer at your request. If you want to generate rules with antecedents that contain all possible com...

2 years ago | 1

Answered
How to Add Measured Output Disturbance to my State Space Model for MPC Controller?
Hi @Muhammad You must have previously created the model predictive controller object 'mpcobj = mpc(model)' based on the specifi...

2 years ago | 0

Answered
Discontinuities in the scope output signal
Hi @Paolo With only the image, the spikes suggest that the 'unknown' system becomes highly stiff during those intervals. If you...

2 years ago | 0

| accepted

Answered
Rules formation method using fuzzy c means clustering method.
Hi @Mamta Your observation is correct. When employing the data clustering method, the fuzzy system (FIS) will have one fuzzy ru...

2 years ago | 1

Answered
Can anyone help me with a dataset from a nonlinear system to train and identify it?
Hi @David Vatavu It seems like you may have forgotten to attach the data using the paperclip icon . This sounds like a nonlinea...

2 years ago | 1

| accepted

Answered
Simulation progress does not rise from 20%.
Hi @상원 안 In my experience, the system's dynamics probably become extremely stiff as the simulation progresses towards 20%. Use ...

2 years ago | 1

Answered
estimating oscillation frequency of a signal
Hi @Pooya Taheri The fft() command, or Fast Fourier Transform, can be used to estimate the oscillation frequency of a signal. W...

2 years ago | 1

Answered
Did I do the PID control design correctly in matlab? if it's wrong, where should I change
Hi @Mücahit The block diagram in Fig. 4 represents a variant of the PID control scheme, known as I-PD control, wherein both the...

2 years ago | 1

Answered
Size mismatch when i am using simulink
Hi @alaa You need to perform a transpose on the param_vec vector as indicated in the code. x = 0.1; y ...

2 years ago | 0

| accepted

Load more