답변 있음
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 =...

거의 2년 전 | 0

답변 있음
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...

거의 2년 전 | 0

답변 있음
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.

거의 2년 전 | 0

답변 있음
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...

거의 2년 전 | 0

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

거의 2년 전 | 0

답변 있음
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...

거의 2년 전 | 0

| 수락됨

답변 있음
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...

거의 2년 전 | 0

답변 있음
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...

거의 2년 전 | 1

| 수락됨

답변 있음
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...

거의 2년 전 | 1

답변 있음
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...

거의 2년 전 | 0

답변 있음
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,...

거의 2년 전 | 0

답변 있음
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 = ...

거의 2년 전 | 1

답변 있음
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...

거의 2년 전 | 0

답변 있음
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...

거의 2년 전 | 0

| 수락됨

답변 있음
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...

거의 2년 전 | 0

| 수락됨

답변 있음
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...

거의 2년 전 | 0

답변 있음
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...

거의 2년 전 | 0

답변 있음
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.

거의 2년 전 | 2

| 수락됨

답변 있음
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 = ...

거의 2년 전 | 0

답변 있음
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...

거의 2년 전 | 1

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

거의 2년 전 | 0

답변 있음
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 ...

거의 2년 전 | 0

답변 있음
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...

거의 2년 전 | 0

답변 있음
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...

거의 2년 전 | 0

| 수락됨

답변 있음
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...

거의 2년 전 | 0

답변 있음
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...

거의 2년 전 | 2

답변 있음
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...

거의 2년 전 | 1

| 수락됨

답변 있음
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...

거의 2년 전 | 0

답변 있음
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 ...

거의 2년 전 | 0

답변 있음
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...

거의 2년 전 | 1

| 수락됨

더 보기