Respondida
Can I use Fuzzy Logic Designer in the online version of matlab?
Sure can, if you have the toolbox, you can design, test, and tune a fuzzy system using the Fuzzy Logic Designer app.

casi 2 años hace | 0

Respondida
Simulate closed loop system with saturated controller output in Matlab
Hi @Cedric Kotitschke It is entirely possible to simulate a closed-loop system in MATLAB using the ode45 solver. Since ode45 so...

casi 2 años hace | 0

Respondida
linearized-pendulum-error plot
Hi @Manuel Hess It's late, but here is how you can make the comparison. % Parameters g = 9.80665; % standa...

casi 2 años hace | 0

Respondida
How to resolve "Out of memory" error?? please look into the following code
Hi @Manish Kumar From the simulation below, you can observe when the solutions begin to blow up. Do you really intend to log th...

casi 2 años hace | 0

| aceptada

Respondida
Both function plots start at 1, even though I have time step as t=0:6
a_2 = -16; a_3 = 1/3; t = 0:6; v = a_2 + (3*a_3*(t.^2)); a = 6*a_3*t; plot(t, v) % <-- plot(xvalues, yvalues) hold on...

casi 2 años hace | 0

Respondida
how to plot two nonlinear functions
Hi @Muhammad Asad The bivariate equations descibe the surfaces. Are you expecting plots like the following? Edit: Correcting t...

casi 2 años hace | 1

| aceptada

Respondida
How to solve optimization problems with constraints of differential equations constraints ?
Hi @xin This optimization problem in this example has the following: a linear equality constraint, three linear inequality c...

casi 2 años hace | 1

Respondida
Mistake in Linear z-shaped membership funciton
Hi @Mateusz You can navigate to "Contact Support" and, under "Product Usage," submit a suggestion to correct the information. T...

casi 2 años hace | 0

Respondida
How can i plot PI controller step respone
Hi @Lina The 4th-order plant under consideration appears to be unstable and cannot be effectively stabilized using a low-order,...

casi 2 años hace | 0

Respondida
How can I plot the probability density function of this generated cumulative distribution function curve?
Hi @ABHISHEK GHOSH Add these lines at the end of the script to visualize the estimated PDF using the gradient() method. cdf = ...

casi 2 años hace | 1

Respondida
Ramp a variable with 63 elements
Hi @David Cole If you do not need a smooth differentiable Ramp function, then use this math function: where is the saturat...

casi 2 años hace | 0

Respondida
Problem with MPC Control
The error message states that the "Simulink Control Design" toolbox is required. Type the following in the Command Window to ch...

casi 2 años hace | 0

| aceptada

Respondida
Solution of a 2nd order non linear implicit differential equation using ode15i implicit solver
Hi @Parthajit Please check if the following is what you expected from the simulation. tspan = [0 20]; y0 = [0; 2]; [t...

casi 2 años hace | 0

| aceptada

Respondida
Attempting to fit data with a sigmoid curve, but not an option in curvefitter toolbox
Hi @Levi Matsushima The latest Curve Fitting Toolbox has only three Sigmoidal Curves in its library of models. rng(0,"twister...

casi 2 años hace | 0

Respondida
Permanent zero on Fuzzy block output P&O mppt algorithm
Hi @Mohamed ARRACH From Scope 1, you can observe that the "error" value is -25; however, this value lies outside the range of t...

casi 2 años hace | 0

Respondida
Why is my model not converging with ode45 solver ?
Hi @ALOYS My guess is that if the coefficient is a positive value, then the system will be unstable.

casi 2 años hace | 2

| aceptada

Respondida
Second Order Laplace solving doesn't work ('Unable to find explicit solution')
Hi @Matteo Millone Do you want to analytically solve the ODE like this? syms s t X %% original parameters m = 1; k = ...

casi 2 años hace | 0

Respondida
finding the minimum of a function input with a parameter
Hi @Olivia I'm afraid I'm not entirely certain. Based on your description, it seems you aim to determine the value of the 'Conv...

casi 2 años hace | 1

Respondida
error saying not enough input arguments?
Hi @Olivia You must pass some values into the 'rootflow()' function. function newmatrix = rootflow(conversion) a = [-1 0 ...

casi 2 años hace | 0

Respondida
Designing fuzzy inference system and subsystems
Hi @Haniye For Multiple-Criteria Decision-Making (MCDM) using fuzzy logic, you should use plateau distribution type fuzzy sets ...

casi 2 años hace | 0

Respondida
solution for steady flow at Re = 10. in coursera i took mathematics for engineers.for that i need to solve an assignment. For this code i cant get correct stream & vorticity
Hi @SANTHOSH The code for plot_Re10() function is based on the video lecture of Prof. Jeffrey Chasnov. https://www.youtube.co...

casi 2 años hace | 0

Respondida
Antlion optimization algorithm for fuel cost optimization
Hi @Daniel The MATLAB code for the Ant Lion Optimizer (ALO) can be found in the File Exchange at the following link: https://w...

casi 2 años hace | 0

| aceptada

Respondida
How to approach this type of question in matlab?
Hi @Mohit The distance of the ship at the closest approach to a lighthouse should be the perpendicular distance from the lighth...

casi 2 años hace | 0

Respondida
Please explain the maths behind calculating lateral deviation
Hi @Raghava Santhan Mysore Pavan The lateral deviation of a car is typically covered in the field of Nonlinear Vehicle Dynamics...

casi 2 años hace | 2

Respondida
How do I assign membership functions to the input and output of this ANFIS code
Hi @Ahmad The following code can be used to train the system using ANFIS based on the desired number of Gaussian membership fun...

casi 2 años hace | 1

| aceptada

Respondida
Which Algorithm "pidtune()" function used for finding PID gains?
Hi @Hafiz Hamza The pidtune() command utilizes a proprietary algorithm for tuning the PID gains to achieve a balance between pe...

casi 2 años hace | 0

Respondida
RMSE in Fuzzy logic designer
Hi @Jordan Savage If it isn't mentioned anywhere in the toolbox, then it is very likely that the RMSE is computed according to ...

casi 2 años hace | 0

Respondida
Solving Eigenvalues of a system time-varying which is 5x5 matrix
Hi @Ahmed Salem The following is not a full solution, but it should provide an idea of how to evaluate the state matrix A at ea...

casi 2 años hace | 1

| aceptada

Respondida
Fuzzy Control for Speed Stepper Motor
Hi @Lely M It is not recommended to design the Fuzzy Controller as a black box, where the positions of the fuzzy sets for {slow...

casi 2 años hace | 0

Respondida
Error message when trying to run System Validation in Fuzzy Logic Designer app
Hi @Steve The reason for the error message that is triggered when the System Validation button is clicked is due to the presenc...

casi 2 años hace | 1

| aceptada

Cargar más