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

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

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

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

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

4 months 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

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

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

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

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

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

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

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

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

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

4 months ago | 1

Answered
How to get acceleration data while using ODE solver for some governing equation of motion?
Hi @Paras Use the deval() command to acceleration data. sol = ode45(@(t, x) [x(2); -x(1)], [0 10], [1; 0]); t = lin...

4 months ago | 0

| accepted

Answered
I need control system block diagram of this specific system.
Hi @Anik Though this is not directly related to MATLAB/Simulink, here is the Control Block diagram of the BESS system that I fo...

4 months ago | 1

Answered
write a MATLAB code to locate all yellow circles in the provided image
Hi @nishanth patil The code is available in the example to locate the bright yellow circular objects. You need to adjust the Se...

4 months ago | 0

Answered
Error using InputOutputModel/feedback
Here is a simple to demo to achieve steady-state errors using two PID controllers. %% State-space system m = 4; % mas...

4 months ago | 0

Answered
Solving system of nonlinear differential equations using ode45
Hi @Miroslav Jovic It appears that your current formulations may be erroneous. If you are not comfortable memorizing the requir...

4 months ago | 0

Answered
Please I want help I have homework I made a mistake saving the file
Hi @Baha Alholi I did a test and "accidentally" saved the code in mat-file format. If I attempt to open the file normally, it t...

4 months ago | 0

Answered
How to draw a Nyquist plot while avoiding the pole at the origin
Hi @ayumi obitsu-san Consider the Nyquist plot for for transfer function with a pole at the origin (also known as "Type-1 syst...

5 months ago | 0

Answered
Error in ode15s
I suspect there is also a typo for Ta because the 'a' key is next to the 's' key. If you follow the advice in Walter's Answer, ...

5 months ago | 0

| accepted

Answered
How can I change the length of a line using the xline() function?
Hi @Md Affan Since you know the coordinates, you can directly use the plot() function. % plot([x1, x2], [y1, y2]) creates a li...

5 months ago | 0

| accepted

Answered
How do I code Ziegler-Nichols Tuning Method to find PID control constants?
Hi @ieng100, It is now time to provide a conclusion for this control problem. In the Ziegler-Nichols 2nd method, the critical ...

5 months ago | 0

Answered
how to use the parameters of neural network in simulink?
Hi @Ahmad Al-Issa If you want to implement a trained neural network in Simulink to predict the Desity based on two inputs (p, T...

5 months ago | 1

Answered
Control System Tuner always selects maximum value
Hi @Cedric The algorithm in Control System Tuner will find the best combination of PI gains that produces the smallest steady-s...

5 months ago | 0

Answered
How I Design Adaptive Cascade Sliding mode Observer for Wind Turbine ?
Hi @ahmad nouri I can understand the frustration that can come with manually designing an observer, as it often requires comple...

5 months ago | 0

Answered
how to solve coding issue
Hi @Radwan, It's good to hear that you're making progress. If you encounter any issues with plotting other types of charts, fe...

5 months ago | 0

Answered
Fit Multiple gaussian curve on data with flat tops
Hi @AMIT For a double-hump data with plateaux, you can try fitting it using two Exponential Power distribution functions. Let's...

5 months ago | 0

Load more