Answered
Algrebraic loop error in MATLAB/Simulink
Hi @Giorgos Mylonas If the problem involves the exponential function and you cannot solve it using any known elementary functio...

5 years ago | 0

Answered
Temperature Control System Model
Hi @Roniel Payoyo From Gao & Li (2012), the furnace temperature system can be approximated by a First-Order Plus Dead Time (FOP...

5 years ago | 2

| accepted

Answered
How to make "Singleton output membership function" ?
Hi @admane hocine You can try something like the following: t = 0:0.001:1; iota = [-1 0 1]; plot(iota(1)*ones(size(t)), t, i...

5 years ago | 1

Answered
Acquire the ability to adjust the parameters of the control system in state feedback for a given nonlinear inverted pendulum
Hi @Michal Tchorzewski To assign the hard limiter that emulates the actuator output restriction by mechanical means, you can pr...

5 years ago | 0

Answered
Simulation of Equation Set Equal to Zero
Looks like the Van der Pol oscillator. clear all; clc tspan = 0:0.001:10; y0 = [1; 0]; [t, y] = ode45(@(t,y) [y(2); y(2) - ...

5 years ago | 0

| accepted

Answered
Solving a system of differential equations, one second order and one first order equation
Hi @Angie If the ODEs are then they can be rewritten as . Solving the systems of equations . Now, you can enter ODEs a...

5 years ago | 1

| accepted

Answered
PID simulink block for MIMO system
Hi Enejor Emmanuel This simple simulation is just to show you that it is possible to design and implement the PID controllers b...

5 years ago | 1

| accepted

Answered
how to Plot of a transcendental equation?
Hi Vaswati Biswas I'm not exactly sure what you want to plot against with. However, you can try out this fimplicit function. H...

5 years ago | 0

Answered
PID simulink block for MIMO system
Hi Enejor Emmanuel The PID control tuning requires the plant model that must be single input, single output (SISO). Because the...

5 years ago | 1

Answered
plot the given equation in the interval of x=[-1 3]
Hi arun p If the equation cannot be expressed explicitly as in versus , then such equation is an implicit function, , like the...

5 years ago | 0

Answered
How can I solve these differential equations?
Hi Huan Gu I've got these results, not exactly the same patterns, but very close. clear all; clc Vspan = 0:1e-9:1e-5; y0 = [...

5 years ago | 0

Answered
I don't seem to understand the feedback function of matlab
Hi Mohammed Azeez I'll talk about the basic theory first. Take a simple pendulum for example, where its nonlinear equation of m...

5 years ago | 1

Answered
LMI equation solving problem
Hi @surya chandra gulipalli The lyap command can be used to find the solution for the Lyapunov and Sylvester matrix equations. ...

6 years ago | 0

Answered
Mathematical Modeling of mehanic system
Hi @Matthew Worker If and , then from the correct free body diagram of the two masses, the sum of forces can be written as fol...

6 years ago | 3

Answered
Solve two ODE with IVP euler
Hi @shubham kumar gupta This is one of several ways to simulate the time-varying dynamics. tspan = 0:0.0001:1; % simulation t...

6 years ago | 0

| accepted

Answered
Solve first order nonlinear ODE
The x(t) response rises rapidly. It cannot go pass t = 0.0463782 sec. The x(t) response diverges for x(0) > 2 and converges to ...

6 years ago | 0

Answered
How to create output Surface for fuzzy defuzzificaion method?
Hi kalpana, If you want to create a Custom Defuzzification Function, then read the information on this link: https://www.mathw...

6 years ago | 1

Answered
Is there a way to extract my 3 transfer function in matlab given these equations.
Hi Jorje German, The transfer functions for your case in given in the first column of the matrix. You can use the functions in...

6 years ago | 1

| accepted

Answered
How do I determine the linear part of a force-displacement curve?
Hi Moein M, From the Excel file, you can check and verify that the first 90 points (up to 0.089) are covered by the circled reg...

6 years ago | 1

Answered
How can I solve this system of ODEs?
Thank you for your acceptance. V1, V2, V3 are just constants. You can move V1, V2, V3 to the right-hand side of the ODEs by doin...

6 years ago | 1

Answered
How can I solve this system of ODEs?
Try this, but please check if the ODEs are entered correctly. You should use the method described in the link. I used this metho...

6 years ago | 1

| accepted

Answered
How do I plot the control signal "u" ?
One workaround to plot the piecewise control signal is to introduce an additional state into the system, where is the actuato...

6 years ago | 1