Answered
to get output from fuzzy logic toolbox
The graph or output values from the surface viewer on the Fuzzy Logic App are actually defuzzified output values. To view the d...

4 years ago | 1

Answered
The value of membership functions for x
@Gadelhag M Omar Mohmed To obtain the fuzzy set values, the evalmf() function can be used. In this example, the fuzzy sets are ...

4 years ago | 0

Answered
how to plot this equation
@shiv gaur, This only shows the propagation of the complex-valued roots of the 6th-order polynomial equation for the integer . ...

4 years ago | 0

Answered
Conversion of linear equations to form Ax=b
Hi @aliza mustafa You have only 4 equations, but there are 6 unknowns. So, the linear system is clearly rank-deficient. syms t...

4 years ago | 1

| accepted

Answered
De-augment a controller transfer funtion
Possibly through partial fraction decomposition. help residue

4 years ago | 0

Answered
Multiple population Genetic Algorithm
Hi @Hari You can try specifying the Population Options in optimoptions(). https://www.mathworks.com/help/gads/options-in-genet...

4 years ago | 1

Answered
Lyapunov Exponent of Logistic Map using "lyapunovExponent" function
Hi @Mehmet Since you have the Predictive Maintenance Toolbox, then you can also add the Estimate Lyapunov Exponent Task to a Li...

4 years ago | 0

Answered
Plot E, H and power using MATLAB
Hi @Vraj It seemed that @KANISHK also asked the same question a few days ago: https://www.mathworks.com/matlabcentral/answers/...

4 years ago | 0

Answered
I am writing a program for lateral- direction motion of an airvraft using Runga Kutta 4th order method.
Hi @TUSHAR SEN This is just a test. The angles of deflection for the Ailerons and Rudder are set to . And it turns out that t...

4 years ago | 0

Answered
creating a piecewise graph
@Noah, you can probably test out the code, if this is the desired output: x = 0:1e-5:5; y = (15 + 2*(x - 1)).*heaviside(x - 2)...

4 years ago | 1

| accepted

Answered
How to produce a matrix with the following conditions?
Hi @M Maybe like this? M = ones(7) I = eye(7) v = 0.4; u = repelem(v, 7) D = diag(u) Solution = M - I + D

4 years ago | 1

| accepted

Answered
How to calculate rate constant if population vs time table data is given?
Hi @Arun, Looks like you want to find the value of to fit the data into the differential equation: The analytical solution ...

4 years ago | 0

Answered
Divergent solution using ode45
Hi @Abhik Saha If you reduce the value for , then the system should be stable. For more info, please check out Floquet theory....

4 years ago | 1

Answered
How can I compute the Area and the Centroid of the following shape?
Hi @M If your intention is to find the defuzzified output value for membership function mf at the interval in x using the centr...

4 years ago | 2

Answered
Solve nonlinear equation with a changing parameter
Hi @Mei Cheng Check if this is the plot you desire: x = linspace(0.1, 0.2, 101); A = 1.0764e-6./(0.4-2.*x).^3; B = (0.830...

4 years ago | 1

| accepted

Answered
Plot (@ 1 MHz) using MATLAB: (a) Electric field (b) Magnetic field (c) Total power flow
Hi @KANISHK, You want to plot something like this? n = 6; x = linspace(0, n*pi, n*1801); z = sin(x); y = zeros(1, length(x)...

4 years ago | 0

Answered
I need to derive the equation of motion that describes the movement of the lower leg as a function of theta in order to calculate and plot displacement,velocity,acceleration?
Hi, I don't think that MATLAB has a toolbox to intelligently search and derive the mathematical model from a list of all governi...

4 years ago | 0

Answered
Finding root of nonlinear functions
Hi @University Glasgow Read about fzero(). https://www.mathworks.com/help/optim/ug/fzero.html The solution may look like this...

4 years ago | 1

Answered
What is the best function of the following shape?
Hi @M The original code was accidentally highlighted and deleted due to sensitive touchpad. It was constructed based on @Torste...

4 years ago | 2

| accepted

Answered
Tuning PI, PD, PID controller
Not sure what happened. But it works for both auto and manual tuning. % Plant Gp = tf(1, [1 10 20]) % PID (Auto) Gc1 = ...

4 years ago | 0

Answered
Is there a way to see and understand the steps of reduction while this equation gets solved for V? The result should be somewhere around 6. Thank you.
Hi @Karl The equation is super long with many parentheses and it's hard to interpret without spaces. Maybe you can view it this...

4 years ago | 1

| accepted

Answered
How to find RMSE of ground robot simulation ..?
Hi @Paarth Perhaps you are talking about the mobile robot's travelled path and the planned path. This probably works provided ...

4 years ago | 0

Answered
Create a graph with square function of period different to 2π
Hi @Ricard Escriva Maybe like this? t = linspace(0, 24, 2401); duty1 = 100*10/24; % 10 hours in percentage dela...

4 years ago | 1

| accepted

Answered
How can i combine 5 curves in one figure?
Hi @Maria, I didn't clean up the code. But more or less, the hold is used. You can also set the LineColor so that it appears as...

4 years ago | 1

| accepted

Answered
How can I integrate a function related to the modified bessel function of the first kind?
Hi @祥宇 崔 Have you checked if this besseli() function for Modified Bessel function of first kind is applicable for your case? h...

4 years ago | 1

Answered
Settling time of response.
Hi @shahin sharafi I don't know how your DDE system is modeled, but you can probably try something like this to locate the posi...

4 years ago | 0

Answered
Dear researchers, how can can I simulate nonlinear disturbance observer for UAV on Simulink?
Hi @ALABA PHILIP OPAYEMI There are two Dryden Wind Turbulence Model blocks: one is continuous and the other is discrete. Check ...

4 years ago | 2

Answered
for simulation of pid controller what should I use N filter coefficient value 1 or 100?
Hi @SASANK DAS, I don't know your Buck Converter model. However, in this example, the filter divisor is 751. Generally, the va...

4 years ago | 0

Answered
Implementing PID regulator in multiple output system
Hi @Nikola Smrecki Thanks for your vote. You can use the gensig() function to generate the sine wave input, and then use lsim()...

4 years ago | 1

Answered
Implementing PID regulator in multiple output system
Hi @Nikola Smrecki If you find the performances and tuning are acceptable, please consider voting 👍 the Answer. Thanks! The Pl...

4 years ago | 2

Load more