回答済み
Plot fuzzy membership function for specified parameters (x, u(x))
One proper way to plot the membership functions (MFs) is to create custom MFs based on the given fuzzy sets. https://www.mathwo...

4年弱 前 | 1

回答済み
i need to solve the ecuation: f(x)=sqrt(x)-cos(x) but im given the following interval [0,1]
Hi @Eva f = @(x) sqrt(x) - cos(x) fplot(f, [0 1]) x0 = 0.6; % guess the solution is relatively close to x = 0.6 xs...

4年弱 前 | 0

回答済み
How to get the output of a controller from MATLAB codes not simulink
Hi @ojonugwa adukwu Since a sample plant is not provided, we will use a 1st-order plant as an example: Gp = tf(1, [1 2]) ste...

4年弱 前 | 2

| 採用済み

回答済み
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...

4年弱 前 | 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...

4年弱 前 | 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 ...

4年弱 前 | 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 . ...

4年弱 前 | 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...

4年弱 前 | 1

| 採用済み

回答済み
De-augment a controller transfer funtion
Possibly through partial fraction decomposition. help residue

4年弱 前 | 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...

4年弱 前 | 1

回答済み
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年弱 前 | 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/...

4年弱 前 | 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...

4年弱 前 | 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)...

4年弱 前 | 1

| 採用済み

回答済み
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年弱 前 | 1

| 採用済み

回答済み
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年弱 前 | 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....

4年弱 前 | 1

回答済み
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年弱 前 | 2

回答済み
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年弱 前 | 1

| 採用済み

回答済み
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年弱 前 | 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...

4年弱 前 | 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...

4年弱 前 | 1

回答済み
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年弱 前 | 2

| 採用済み

回答済み
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年弱 前 | 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...

4年弱 前 | 1

| 採用済み

回答済み
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年弱 前 | 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...

4年弱 前 | 1

| 採用済み

回答済み
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年弱 前 | 1

| 採用済み

回答済み
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年弱 前 | 1

回答済み
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年弱 前 | 0

さらに読み込む