Answered
matlab data how to read the fuzzy data in matlab ?
I believe that you will have to manually enter the numeric data from the Table. I don't know, but two parameters might be relate...

3 months ago | 0

Answered
I wan to find the branch currents using mathematical expression
Hi @Zeeshan The system appears to be linear; however, it is a 9th-order system (see Abel's Impossibility Theorem). Therefore, y...

3 months ago | 0

| accepted

Answered
The same plotting problem, it is appear that one of the marker does not show on the graph but it should have been properly plot and the legend has shown properly too
Hi @Elisa The idea is to reposition the legend box to a region that it doesn't block the green dot. max_l = 1.00; max_a =...

3 months ago | 0

Answered
How can model a nonlinear PID pressure and volume controller for medical ventilator application.
Hi @Amlakie Setargew You can refer to the modeling of a positive-pressure medical ventilator system using Simscape here: https...

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

| accepted

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

3 months ago | 0

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

3 months ago | 1

| accepted

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

3 months ago | 1

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 1

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

3 months ago | 0

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

3 months ago | 0

| accepted

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

3 months ago | 0

| accepted

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 2

| accepted

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

3 months ago | 0

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

3 months ago | 1

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

3 months ago | 0

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

3 months ago | 0

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

4 months ago | 0

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

4 months ago | 0

| accepted

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

4 months ago | 0

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

4 months ago | 2

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

4 months ago | 1

| accepted

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

4 months ago | 0

Load more