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

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

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

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

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

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

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

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

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

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

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

1 year 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,...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

1 year ago | 0

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

1 year ago | 0

Load more