답변 있음

How to change constant block automatically and run automatically

Write a mathematical function for the MATLAB Function block that describes behavior of the firing angle: https://www.mathwork...

How to change constant block automatically and run automatically

Write a mathematical function for the MATLAB Function block that describes behavior of the firing angle: https://www.mathwork...

12일 전 | 0

답변 있음

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

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

12일 전 | 1

답변 있음

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

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

12일 전 | 0

답변 있음

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

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

13일 전 | 0

답변 있음

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

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

13일 전 | 0

| 수락됨

답변 있음

De-augment a controller transfer funtion

Possibly through partial fraction decomposition. help residue

De-augment a controller transfer funtion

Possibly through partial fraction decomposition. help residue

14일 전 | 0

답변 있음

Multiple population Genetic Algorithm

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

Multiple population Genetic Algorithm

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

14일 전 | 0

답변 있음

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

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

14일 전 | 0

답변 있음

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

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

14일 전 | 0

답변 있음

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

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

14일 전 | 0

답변 있음

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

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

15일 전 | 0

| 수락됨

답변 있음

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

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

15일 전 | 0

| 수락됨

답변 있음

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

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

15일 전 | 0

답변 있음

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

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

16일 전 | 0

답변 있음

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

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

16일 전 | 1

답변 있음

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

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

17일 전 | 0

| 수락됨

답변 있음

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

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

17일 전 | 0

답변 있음

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

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

19일 전 | 0

답변 있음

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

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

20일 전 | 0

답변 있음

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

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

21일 전 | 1

| 수락됨

답변 있음

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

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

21일 전 | 0

답변 있음

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

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

22일 전 | 0

| 수락됨

답변 있음

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

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

22일 전 | 0

답변 있음

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

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

22일 전 | 0

| 수락됨

답변 있음

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

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

22일 전 | 0

| 수락됨

답변 있음

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

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

22일 전 | 0

답변 있음

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

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

22일 전 | 0

답변 있음

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

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

23일 전 | 1

답변 있음

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

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

23일 전 | 0

답변 있음

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()...

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()...

25일 전 | 0