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

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

1 year ago | 1

| accepted

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

1 year ago | 0

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

1 year ago | 1

| accepted

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

1 year ago | 0

Answered
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

1 year ago | 1

| accepted

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

1 year ago | 0

| accepted

Answered
Loading satellite TLE data into MATLAB using satellite function
It had de-orbited about a few days ago. Perhaps the final TLE data suggested that it reentered Earth's atmosphere.

1 year ago | 0

| accepted

Answered
How to set up a solar water heating system?
Hi @忠宇 If there is no pre-existing model available for the thermal dynamics of a solar heating system, it is possible to manual...

1 year ago | 0

| accepted

Answered
Hello all, kindly, I have question , how can I get the piecewise function of this blood flow rate shown below using Matlab
Hi @FAWAZ FAREAD AL BAKRI Constructing a piecewise function can be a tedious process, as this sinusoidal signal requires defini...

1 year ago | 0

Answered
Plotting a unit step function without heaviside.
Hi @abdelkader omr Your function looks somewhat like a Boxcar function. However, your description of the continuous-time functi...

1 year ago | 0

Answered
How does the Spacecraft Dynamics block work?
Hi Andrew, The Spacecraft Dynamics block simultaneously models both the Orbital (translational) and Attitude (rotational) dynam...

1 year ago | 1

| accepted

Answered
Solver decreases step-size at certain anomalies
Hi @Quirin Regarding the issue with the rapid zero-crossing, it appears to be caused by the Derivative block used to compute th...

1 year ago | 0

Answered
How to get acceleration data while using ODE solver for some governing equation of motion?
Hi @Paras I believe I understand what @Torsten is trying to imply. He is an expert in solving dynamical systems. It is true tha...

1 year ago | 0

Answered
Leader follower approach formation control problem
Hi @Enrica Regarding the task of designing a Leader-Follower formation, the first step is to ensure that the leader robot track...

1 year ago | 1

Load more