Answered
I'm trying to solve two separate systems using ODE23 while controlling the number of indexes so that the indexes are equal for both systems, but I couldn't. Can you help? Than
Hi @mohammed Please review if this approach is accceptable. tspan = linspace(0, 5, 251); opt = odeset('RelTol',1e-3);...

2 years ago | 0

| accepted

Answered
Solve an ODE with the parameters defined in the function changing in a for loop in the main script
Hi @Paolo Trenta Let me know if the looping approach I provided is helpful. By the way, your original proportional-only control...

2 years ago | 1

| accepted

Answered
How i use break in continues data in couple differential? it is possible?
Hi @cindyawati cindyawati Please review the plots and verify if the microglia and the drugs are correctly injected in your Drug...

2 years ago | 0

| accepted

Answered
Ziegler Nichols PID Method
Hi @LORIS IACOBAN I revisit your problem. I'm unsure if you are looking for something like this: %% original system (marginall...

2 years ago | 0

Answered
HOW TO CREATE TSUNAMI MODEL
Hi @Fadilla Neisa Looking for this? %% Tsunami model syms L H depthratio g positive syms x t w T R U(x) L1 =...

2 years ago | 0

Answered
Fuzzy control problem:(1)input 2 expects a value in range [-1.5 1.5], but has a value of 4.36559e+24;
Hi @柯 This following issue does not affect the original "derivative kick" problem described in this thread. So, it should be tr...

2 years ago | 0

Answered
Transfer function derviation for a system
Hi @DP From the differential equation, it can be rearranged to have the control term and the disturbance term. In state-...

2 years ago | 0

Answered
Keep underscore symbol using latex as interpreter
plot(0, 0, 'o', 'markersize', 20), grid on legend('{$03 \textunderscore$May$\textunderscore 2024 \textunderscore$NoHS$\textunde...

2 years ago | 0

Answered
Find natural equation w with 5 dof
Hi @Trong Nhan Tran Based on the diagram and your equations, the natural frequencies of the system can be computed as follows: ...

2 years ago | 0

| accepted

Answered
Fuzzy control problem:(1)input 2 expects a value in range [-1.5 1.5], but has a value of 4.36559e+24;
Hi @柯 If there is no other way to directly measure the time derivative signal from the system, the proposed configuration with ...

2 years ago | 1

| accepted

Answered
Matlab file to fis file
I believe you can use the writeFIS() function "to convert" a MATLAB m-file to a .fis file.

2 years ago | 1

| accepted

Answered
Hey, how can i import and replace PCM model by trained neural state-space model in EV system level model
Hi @kavya If you're referring to the performance of the PCM controller in the EV system, it depends on what you mean by 'workin...

2 years ago | 0

| accepted

Answered
How to do I get the standard deviation from an eeg input signal in SImulink?
Hi @Tania Akhtar Since you're able to extract the EEG signal from the CHB-MIT Dataset and load it into the Workspace, it would ...

2 years ago | 1

| accepted

Answered
Error when using if-else statement in MATLAB function block. How can I fix this error described below?
Hi @Delika Weragoda Try using the Abs block to return the absolute value of the input.

2 years ago | 0

Answered
How to solve a highly non-linear ODE containing multiple powers?
Hi @Sean You mentioned that c1, c2, c3, and c4 are all positive known constants. Now, let's consider a special case of your dif...

2 years ago | 0

Answered
sat(s/ε) implementation in Sliding Mode Control of DC-link voltage ?
Hi @Shahinur Rahman You can try this approach:

2 years ago | 0

Answered
find frequency eqaution and then compute for the non zero natural frequencies
Hi @DP A 5-coupled mass-spring-damper network constitutes a 10th-order system. If you are referring to the 'frequency equation'...

2 years ago | 0

Answered
Matlab tool to plot 3d phase portrait
Hi @Shreshtha Chaturvedi If you want to use multiple slider widgets for alpha and beta to visualize the interactive 3D phase po...

2 years ago | 0

| accepted

Answered
How to solve nonlinear equation?
Hi @Semiha I'm afraid that the nonlinear differential equation may not have an analytical solution. In such cases, you can util...

2 years ago | 0

Answered
Selecting appropriate values for the parameters in the Gierer-Meinhardt activator-inhibitor model
OP: My problem is that I don't undestand how to choose the right parameters every time. Hi @Athanasios Paraskevopoulos In my p...

2 years ago | 0

Answered
Not enough input arguments ode45
Hi @Alejandro Arias There are numerous errors present. Since the code's mathematical expressions are written in a cluttered man...

2 years ago | 0

| accepted

Answered
How do I plot a polynomial equation and set of x-y coordinates on the same graph?
Edit: Your original polynomial coefficients are truncated. So, the polynomial cannot produce an accurate result. %% data x =...

2 years ago | 0

| accepted

Answered
Win11 taskbar too big
Hi @Michael Schlick This video shows you how to adjust the Windows 11 Taskbar size using the Registry, without "hiding it". ht...

2 years ago | 0

Answered
block does not fully set the dimensions of output 'ddtheta'
Hi @Peter I'm not familiar with the specifics of your Robot dynamics, but based on my understanding of MATLAB, it seems that yo...

2 years ago | 0

Answered
The appearance of infinity in the problem with finding the minimum of a function
Here is what I discovered. When , and atanh(1)

2 years ago | 0

Answered
Selecting appropriate values for the parameters in the Gierer-Meinhardt activator-inhibitor model
Hi @Athanasios Paraskevopoulos As usual, we begin by identifying the critical point(s) of the system, if they exist. However, I...

2 years ago | 0

| accepted

Answered
Non-Negative Solution with Integrator in Simulink
Hi @Rajmohan I'm not familiar with all types of settings, codes, and tools in MATLAB/Simulink. Therefore, I usually resolve num...

2 years ago | 1

Answered
solving non-linear ODE
Hi @문기 I didn't modify your equations (except for removing the 'simplify' part), but you need to provide values for the paramet...

2 years ago | 0

| accepted

Answered
How to create a LPV model from a given vector of operating points?
Hi @Pedro Carvalho I'm not familiar with the dynamics of your original nonlinear system. My focus is to ensure that the code ru...

2 years ago | 0

| accepted

Answered
I would like to find the name of a block that is represented by a rectangle with the input titled "D", and the output titled "P"
Hi @bao nguyen The PWM Generator (DC-DC) block is part of the Simscape Electrical master library. You can locate it in the foll...

2 years ago | 0

Load more