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

casi 3 años hace | 2

| aceptada

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

casi 3 años hace | 2

| aceptada

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

casi 3 años hace | 0

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

casi 3 años hace | 0

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

casi 3 años hace | 1

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

casi 3 años hace | 2

| aceptada

Respondida
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; ...

casi 3 años hace | 1

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

casi 3 años hace | 0

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

casi 3 años hace | 2

| aceptada

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

casi 3 años hace | 0

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

casi 3 años hace | 0

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

casi 3 años hace | 1

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

casi 3 años hace | 1

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

casi 3 años hace | 1

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

casi 3 años hace | 0

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

casi 3 años hace | 0

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

casi 3 años hace | 0

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

casi 3 años hace | 0

Respondida
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([...

casi 3 años hace | 0

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

casi 3 años hace | 2

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

casi 3 años hace | 0

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

casi 3 años hace | 1

| aceptada

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

casi 3 años hace | 0

Respondida
watching PID controller output value at perticular point
@rathod ujjval rameshbhai, Since no performance requirements are specified, the pidtune() command can be used to automatically s...

casi 3 años hace | 0

Respondida
I need Ant lion Optimization Matlab code for controller design for Four Tank System to contimue my research work.
@Praveen Kumar, You can find the Ant Lion Optimization (ALO) algorithm implemented in MATLAB on File Exchange. However, please ...

casi 3 años hace | 0

Respondida
Please help me solve this material balance
Hi @Rachael @Torsten has shown you how to solve PDEs in MATLAB. From the PDEs, you need to rearrange and rewrite the equa...

casi 3 años hace | 2

Respondida
solve ode with ode45
Hi @Lan If I'm not mistaken, 'dr' stands for 'damping ratio.' You probably want to observe how the response dampens over time. ...

casi 3 años hace | 0

| aceptada

Respondida
How to simulate multiple doses and generate only one plot?
Hi @Lo Are you looking to plot something like this? m1 = sbiomodel('onecomp'); r1 = addreaction(m1,'drug -> null'); k1 = a...

casi 3 años hace | 0

Respondida
ode45 solver argument error
Hi @Andria If you start the simulation from , then a singularity will occur due to the division-by-zero term '...*v/x'. However...

casi 3 años hace | 0

Respondida
how do i solve the attached system of ODEs?
Hi @Gabriel Samaila This is an analysis of the behavior of such that the states in Eq. (13), { and }, approach 0 as approache...

casi 3 años hace | 0

Cargar más