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

quasi 2 anni fa | 0

| accettato

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 1

| accettato

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

quasi 2 anni fa | 1

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 1

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 0

| accettato

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

quasi 2 anni fa | 0

| accettato

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 2

| accettato

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 1

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 0

| accettato

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 2

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

quasi 2 anni fa | 1

| accettato

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 1

| accettato

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 1

| accettato

Risposto
How to calculate semiMajorAxis and trueAnomaly from TLE file
Hi @Raghav Rathi Use the tleread() command. Otherwise, you can also manually extract the info as detailed here: https://www.m...

quasi 2 anni fa | 0

Risposto
How to load input data to Fuzzy logic designer to validate the system
Hi @Steve In the IMPORT tab (3rd image), try selecting "Numeric Matrix" under the Output Type option dropdown menu

quasi 2 anni fa | 1

| accettato

Risposto
How do I add shapes to my Simulink model
Hi @David Cole Can try this: Drag a box around the area surrouding the blocks of interest, and then click Create Area from the...

quasi 2 anni fa | 0

| accettato

Carica altro