Risposto
how to make input to the system time variable?
Okay @Min Khant, the problem is incomplete. However, you can learn by yourself using this example for tracking the desired tra...

oltre 2 anni fa | 1

| accettato

Risposto
GA Algorithm for PID tuning
Hi @SURBHI GOEL Sometimes you can let GA randomly search during the initial run to observe if the performance requirements are ...

oltre 2 anni fa | 0

Risposto
How to keep track of accumulated error for integral term in a PID controller function?
Hi @David This simple example shows how to obtain the integral error signal by adding an auxiliary state in the my_Dynamics() f...

oltre 2 anni fa | 1

| accettato

Risposto
how to done this simulink , help me to do this i have to make aircraf with simulink
Hi @Nguyen Viet Hoang If you are not familiar with Simulink blocks and need to model the aircraft's longitudinal dynamics in Si...

oltre 2 anni fa | 1

| accettato

Risposto
How to apply PSO FOR REGRESSION?.
Hi @Ahmed Eltantawi it is technically possible to use PSO for predicting the output, although not by directly applying PSO. The...

oltre 2 anni fa | 0

| accettato

Risposto
Out of memory - dsolve 3rd order system
Hi @Chris G. If you're using the ode45 solver to find the state responses, here is how they look. Indeed, as mentioned by @Walt...

oltre 2 anni fa | 0

Risposto
how I can fix sample time in ode45
Hi @hossen hassanzadth Are you looking for something like this? T = 0.5; tspan = 0:T:10; y0 = [0.2,0.3]; [t, y]...

oltre 2 anni fa | 0

| accettato

Risposto
Damped Oscillation Equation Fitting
Hi @Haardhik You can probably estimate the value of omega (angular frequency) by counting the number of zero-crossing events. I...

oltre 2 anni fa | 0

Risposto
How to plot the Taylor Series expansion of sin²(x) in MATLAB
Hi @Abdulazziz I believe you when you say you don't know how to plot this in MATLAB. However, I don't understand the logical re...

oltre 2 anni fa | 0

Risposto
how can I set the decimal digits of all coefficients at one time when outputting a polynomial f?
a = 5.327416; b = 3.660092; c = 1.5799301; fprintf('f(x) = %.3f*x^2 + %.3f*x + %.3f', a, b, c)

oltre 2 anni fa | 0

Risposto
Unable to use Control System Designer
Hi @Oz Etkin Please post the full code because the error message appears to have something to do with logical operations involv...

oltre 2 anni fa | 0

Risposto
Where is the tle file that contain data satellite (eccentricOrbitSatellite.tle) ?
Hello @Eman Adel The file "eccentricOrbitSatellite.tle" can be found in the folder named "orbitdata" if you have the Example fi...

oltre 2 anni fa | 0

Risposto
how do I set membership function to this ANFIS?
Hi @Ahmad In ANFIS training, only the Grid Partitioning method provides the flexibility to assign a fixed number of membership ...

oltre 2 anni fa | 1

| accettato

Risposto
using mean function to return a singular value of a row vector
Hi Jack, It could be the get_SoilMoisture(Object) function is nested in a for-loop that performs 3 iterations in the Main Scr...

oltre 2 anni fa | 0

| accettato

Risposto
Calculated 100% rise time value different than matlab value
Hi @Caleb Since and , then % Parameters theta = 1.23; % rad wd = 1.97; % rad % Rise t...

oltre 2 anni fa | 0

| accettato

Risposto
Sinc Interpolation without using predefined function
Hi @Radu-Andrei Not an interpolation expert, but I believe your code didn't work correctly because the sampling frequency (at 1...

oltre 2 anni fa | 0

| accettato

Risposto
Piecewise function in Simulink
Hi @Yamana Uno Since the piecewise signal is generated through an If-Else conditional statement in the coding mode, @Ishaan's a...

oltre 2 anni fa | 0

Risposto
Show matrix is not invertible.
Hi @L I believe this is an exercise in the Linear Algebra course. You have likely learned how to find the determinant of a matr...

oltre 2 anni fa | 0

Risposto
how can i plot bifurcation diagram of fractional logistic map?
The logistic map is given by and the code for the graphical representation of the bifurcation may be converted from the Pytho...

oltre 2 anni fa | 0

Risposto
F values come out as Infinity using the anovan function
Hi @ki o kim In this example, you'll notice that the F-statistic is calculated as the ratio of the mean squared errors: (7.875/...

oltre 2 anni fa | 0

Risposto
matlab gives my answer inverted
Hi @Maria Cinthia It sounds like you're looking for a state-space realization in the Controllable Canonical Form. If that's the...

oltre 2 anni fa | 0

Risposto
Find the integral of ;
Hello Sir @Newton I feel honored to have the opportunity to solve this integral problem for you in the modern computational era...

oltre 2 anni fa | 1

Risposto
How to simulate the state-space model
Hi @Hein zaw In MATLAB, you can use the ODE solver approach. If the system is LTI and you have the Control System Toolbox insta...

oltre 2 anni fa | 0

| accettato

Risposto
How to find mean of sin(t)/t with t [0, pi]?
Hi @Han Your function does not have the variable . But I guess that your teacher probably wants you to cleverly apply the Lagr...

oltre 2 anni fa | 0

Risposto
Control Algorithm for a Plant with Hysteresis-Shifted S-Curve
Hi @Achraf Without knowledge about the physical nature of the dynamics, your questions can only be adequately answered through ...

oltre 2 anni fa | 0

Risposto
how to define mpc object's plant as state space ?
Hi @AMAN There was an incorrect syntax issue with mpc(), but it is now fixed below: % Define system matrices (Ad, Bd, Cd, Dd) ...

oltre 2 anni fa | 0

| accettato

Risposto
plot 2 signals for sin(t)
After thinking about your learning experience, to learn exactly how sine wave is sampled at a fixed time step, you can try the p...

oltre 2 anni fa | 0

Risposto
Ploting streamline with vector's module on line.
Hi @泽江 Can you check if the following are what you want? spacing = 0.2; x = -2:spacing:2; y = -2:spacing:2; [X,...

oltre 2 anni fa | 0

| accettato

Risposto
what is the issue with my Fuzzy inference system (FIS) code?
Hi @Ahmad The error is due to the incorrect usage of the option set. The option set for the genfis() function should be genfisO...

oltre 2 anni fa | 1

| accettato

Risposto
How to apply step disturbance on one output at specific time in MPC?
Hi @HN I believe your algorithmic-based MPC can automatically handle the step change at 200 minutes, thanks to its built-in sel...

oltre 2 anni fa | 1

| accettato

Carica altro