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

Answered
Rules formation method using fuzzy c means clustering method.
Hi @Mamta Here is a simple example of automatically generating fuzzy rules from data using the FCM clustering method. The data ...

2 years ago | 2

| accepted

Answered
How to setup fuzzy control
Hi @anhpham The Mamdani fuzzy controller depicted in your image poses a challenging design task, as it relies heavily on the ch...

2 years ago | 0

| accepted

Answered
How to find the slope of a linear area
Hi @Zlatan If you only have an image of the plot, you can visually estimate the slope of the linear range, perhaps using a rule...

2 years ago | 0

Answered
Stability analysis of a 10-by-10 non linear system of ODEs
@Naheed, first things first, I guess you copied the equations from the Math Editor in MS Word. Might as well show the ODEs in s...

2 years ago | 0

Answered
Newtons law of cooling
Hi @Habiba I understand that you are grappling with a certain problem. That's why you've outlined the challenge of not knowing ...

2 years ago | 1

Answered
X(t)=0.1179e-25.2tsin(50t+0.3224π } Use MATLAB to Plot X (t)with time and determine the amplitude and phase angle of the transient response within the system
Hi @Talha I wanted to help, because you probably wouldn't be asking this question if you already knew which MATLAB functions to...

2 years ago | 0

| accepted

Answered
How to locate the answer in the given code?
Hi @Sadiq I've provided the necessary inputs for the Novel Bat Algorithm function. It will return the optimal values, bestX, fo...

2 years ago | 0

Answered
How to design an oustaloup filter for fractional order controller in FOMCON toolbox?
Hi @Milad A Google search reveals that the third-party FOMCON toolbox on FileExchange includes a 9-parameter function named ous...

2 years ago | 1

| accepted

Answered
fractional order PID controller tunning/optimization
Hi @Farai Gatawa I received the following warning: Warning: Unable to load block diagram 'fod' >> because the Simulink sto...

2 years ago | 0

Answered
solving a circuit with multiple-objective optimization algorithm to find resistors and voltages values
Hi @Moussa Update: This is not a complete solution, but it could serve as a starting point by applying Kirchhoff's Voltage Law,...

2 years ago | 0

Answered
Plotting the aircraft pitch angle response to elevator
Hi @Daniel Jackson, I just replied to your other question, and then I noticed this new but similar question. Anyway, the secon...

2 years ago | 1

Answered
how can i solve this problem?
Hi @worod FOPID, like the ordinary PID, is a static control architecture. The control parameters require the designer to mathem...

2 years ago | 0

Answered
Aircraft pitch angle response to elevator inputs
Hi @Daniel Jackson If all the equations are correct, you can use the MATLAB Function block to enter each equation. https://www...

2 years ago | 0

Answered
Two figures in to two plots. I need to plot (the density Vs pressure) and ( the density vs. Temperature) for the data itself and using Peng Robinson model.
Hi @Hanadi Previously, didn't @Torsten successfully demonstrate how to plot the Peng–Robinson equation here? Are you expecting ...

2 years ago | 0

Answered
Facing difficulty to resolve code problem
Hi @Shakeel Ahmed I recommend using the numerical approach directly when the state equations are available, as in your case. It...

2 years ago | 0

Answered
Matlab step() from Simulink dataset
Hi @Oleg Some information is unavailable in your code, but I managed to guess and reproduce the result of the computed LQR gain...

2 years ago | 0

Answered
Design and Simulation of optimized Anti-surge Adaptive control system for Centrifugal Compressor
Hi @MADUKA CHIKA To simulate the dynamics and control of the Centrifugal compressor system in MATLAB, you must adhere to a syst...

2 years ago | 0

Answered
Simulation and Modelling of a compressor
Hi @MADUKA CHIKA There won't be any detailed technical answer for this general question. However, based on your image, we can a...

2 years ago | 0

Answered
My code fails to get value for M (M and K should be very small numbers, close to zero I believe).
Hi @Sean Rotmansky You have one equation, 'g', but you are attempting to solve for two unknown variables, M and K. The system i...

2 years ago | 0

Answered
Plotting the derivative of infected population SI model
Hi @Amal Matrafi You can use deval() to obtain the first derivative. Alternatively, as suggested by @Star Strider, you can also...

2 years ago | 0

Load more