Respondida
Finding the relative orientation to a robot
Hi @Pawel Grum Generally, you can the transformation matrix to obtain the relative orientation. For simplicity, you can try stu...

casi 4 años hace | 2

| aceptada

Respondida
how to reduce fuzzy rules generated by mamdani fis
With almost a thousand rules for 8 inputs, I guess there are 6 inputs with 2 fuzzy sets, 1 input with 3 fuzzy sets, and another ...

casi 4 años hace | 1

Respondida
how to code transfer function
@Cesar Cardenas, Try something like this: tau0 = 2; tau1 = 3; Gp = tf(1, [tau1 1],'InputDelay', tau0) For more info, plea...

casi 4 años hace | 1

Respondida
help with smooth curve
@Felix Obite, Have you looked into interp1() function? Check out the first example: https://www.mathworks.com/help/matlab/ref/...

casi 4 años hace | 0

Respondida
Velocity vs Time graph in matlab
Hi @Sandun, I'm also new as to this kind of problem, with , strictly from the mathematical notation perspective. I think item ...

casi 4 años hace | 0

Respondida
I am looking to plot the following set of equations. Can someone please help me out with this
Let me try helping. I don't know about your functions and their parameters. But here is a basic example: Say we want to plot ...

casi 4 años hace | 1

Respondida
How to get the fuzzy value of an input when the crisp value is given
The evalmf() function can used in this situation. help evalmf x = -10:0.1:10; mf = fismf("pimf", [-9 -7 2 7]); y = evalmf(...

casi 4 años hace | 0

Respondida
How do I solve this simultaneous equation below
Hi @Adam Verify with MATLAB: x = roots([1 1 -6]) Can I leave you to find as a simple exercise?

casi 4 años hace | 0

Respondida
Fuzzy controller giving constant output of z = 0.5 (z range [0,1])
There is nothing wrong. The reason the Crisp Output starts from is because the linear MF is chosen and the range of the Output ...

casi 4 años hace | 0

Respondida
help me in degree of membership function correction in fuzzy logic tool with new membership function creation
That's because the amplitude of your custom function depends on the value of . If it is not designed as , then the upper bound o...

casi 4 años hace | 0

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

casi 4 años hace | 1

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

casi 4 años hace | 0

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

casi 4 años hace | 2

| aceptada

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

casi 4 años hace | 0

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

casi 4 años hace | 1

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

casi 4 años hace | 0

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

casi 4 años hace | 0

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

casi 4 años hace | 1

| aceptada

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

casi 4 años hace | 0

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

casi 4 años hace | 1

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

casi 4 años hace | 0

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

casi 4 años hace | 0

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

casi 4 años hace | 0

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

casi 4 años hace | 1

| aceptada

Respondida
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

casi 4 años hace | 1

| aceptada

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

casi 4 años hace | 0

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

casi 4 años hace | 1

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

casi 4 años hace | 2

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

casi 4 años hace | 1

| aceptada

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

casi 4 años hace | 0

Cargar más