Réponse apportée
Writing a system of ODEs for ode45
Hi @Noob, Your code is unfinished, and when you run it, MATLAB will throw an error message. You can also try solving the ODE by...

presque 3 ans il y a | 0

Réponse apportée
MATLAB code for fuzzy logic based battery scheduling for 24 hours in microgrid to minimize cost and grid dependency
Hi @REENA I can fix the warning message in the fuzzy system. Could you please interpret the meaning of the output values for me...

presque 3 ans il y a | 1

Réponse apportée
How to solve this equation?
Hi @Ali Almakhmari, It seems that there are no real solutions for . From the graph, we can see that we need to lower the quadra...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
Linear Driving Force Model for Gas Adsorption in Fixed Bed
Hi @JUBAIR AHMED SHAMIM Editted to run your supplied code. The state responses (Tbed, Twater, Tgas) converge to the same value ...

presque 3 ans il y a | 2

| A accepté

Réponse apportée
How to solve 2nd order coupled differential equations?
Hi @Gloria, If there are time-dependent elements in the mass matrix, the idea is to define the generalized 'Mass' matrix in ode...

presque 3 ans il y a | 1

Réponse apportée
How to use harmonic fitting method
Hi @TTA, I'm interpreting your 'Harmonic' model as the 'Sum of Sine' model. If this is not the case, then you will need to crea...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
Simulation step size in simulink is very small and takes really long to run. Unable to solve it
Hi @Suhas Raghavendra Kulkarni, It's not bad for a beginner in Simulink to create a rather sophisticated model using mostly use...

presque 3 ans il y a | 0

Réponse apportée
MATLAB code for fuzzy logic based battery scheduling for 24 hours in microgrid to minimize cost and grid dependency
Hi @REENA There are many syntax errors because the name and behavior of some functions in Fuzzy Logic Toolbox have changed sinc...

presque 3 ans il y a | 2

| A accepté

Réponse apportée
Solving system of odes with a power using ode45
Hi @Thomas TJOCK-MBAGA I presume that Xinit is not equal to , and . I tested this with the ode45 solver, and it also works with...

presque 3 ans il y a | 2

| A accepté

Réponse apportée
Need Help with MATLAB Fuzzy Clustering - Trouble Implementing Example
Hi @Baptiste Please take a look at this example. The data set is specified as a matrix with 9 rows, each representing a data po...

presque 3 ans il y a | 0

Réponse apportée
How to open simulink example in matlab?
Hi @Jagadish Babu If you cannot find the example file in the MATLAB examples directory, then it is most likely that this exampl...

presque 3 ans il y a | 0

Réponse apportée
I don't know why my code makes odeToVectorField error
Hi @Student, The highest-order derivative is embedded in or D2s. Notably, one of the terms in this context is nonlinear, as d...

presque 3 ans il y a | 1

Réponse apportée
How do you solve equations with multiple variables?
Hi @Ilan, some multiplication operators (*) are missing. It is working now. % List of Parameters E1f = 233; v12f = 0.200; E...

presque 3 ans il y a | 2

| A accepté

Réponse apportée
Application of any numerical root finding method (secant, bisection, etc.)
Hi @ABDALLA AL KHALEDI Take pride in the fact that your Bisection method yields the same result as fzero(). Cs = 0; d = 0.5; ...

presque 3 ans il y a | 1

Réponse apportée
How do I solve an equation with an unknown variable?
Hi @TC Yes, there is a useful function called 'isolate()' in Symbolic Math Toolbox. If you want to do this iteratively, please ...

presque 3 ans il y a | 0

Réponse apportée
Element Wise Matrix multiplication issue (.*)
Hi @Yuvraaj Pasumarthy, Update: With the values of zeta, beta, and mu provided, you can plot something. You can try experimenti...

presque 3 ans il y a | 2

| A accepté

Réponse apportée
How can I show the stability graph?
Hi @Can Yilmaz, The transfer function can be rewritten as where where the characteristic equation defines the behavi...

presque 3 ans il y a | 0

Réponse apportée
Solving symbolic third order polynomial
Hi @Axel Degrande The trajectory position is chosen to be a cubic polynomial. From this cubic polynomial, the velocity can be...

presque 3 ans il y a | 0

Réponse apportée
How to simulate the forced response of a transfer function
Hi @Ali Almakhmari The 'lsim()' command is great when the Control System Toolbox is available. Here is an alternative approach ...

presque 3 ans il y a | 1

Réponse apportée
How do I do a regress like this?
Hi @Leon I'm not exactly sure what you want. If you're looking to find the exact percentage drop, as @Image Analyst has shown y...

presque 3 ans il y a | 1

Réponse apportée
How to find kp, ki, kd values from transfer function
The question (in the title) about finding PID gain values {, , } from an unspecified transfer function is not exactly clear. Giv...

presque 3 ans il y a | 1

Réponse apportée
slow simulation because of integrator
Hi @Magda Since no details are provided to describe why the simulation is slow, I can only guess that the system is stiff. To a...

presque 3 ans il y a | 0

Réponse apportée
How can i solve this.
@Nia, You can look up some examples here: https://www.mathworks.com/help/signal/examples.html More importantly, could you pl...

presque 3 ans il y a | 0

Réponse apportée
how to find stable and unstable spiral point?
@Yixuan Qi, This is actually the Rayleigh Differential Equation. I assume you would like to utilize a graphical approach, as the...

presque 3 ans il y a | 0

Réponse apportée
Integral MPC in Simulink
Hi @Ale_798 Thank you for clarifying the problem. I'm not an expert in MPC, but after reviewing your comment, I believe you can...

presque 3 ans il y a | 0

Réponse apportée
LMIterm problem: Error using lmiterm, Complex number, NaN or Inf not allowed in A, B.
Hi @Syue-Cian The code looks okay. Can you show the matrix A_F? Performing Test #1: % Test #1 A_F = eye(2) setlmis([...

presque 3 ans il y a | 0

Réponse apportée
wheeled mobile robot dynamic equation
HI @BINOY I don't see any specific question. Perhaps this is your first time asking a question in this forum. If you are not hi...

presque 3 ans il y a | 2

Réponse apportée
Queries regarding PID Tuner app?
Hi @ABTJ The PID Tuner app assists designers in automatically tuning the PID control gains for a SISO plant to achieve a balanc...

presque 3 ans il y a | 0

Réponse apportée
How to detect data that does not follow a bell curve?
Hi @Miguel Not sure if you can try it this way to compare the R-square value. Data that follows the bell curve tends to have a ...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
why my “pid” parameters(Kp,Ki and Kd) values are not showing up in pidtuner tool?
Hi @ABTJ, The command pidtool(B, 'pid') launches the PID Tuner app and designs a PID controller for plant B. However, plant B i...

presque 3 ans il y a | 0

Charger plus