Réponse apportée
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/...

presque 3 ans il y a | 0

Réponse apportée
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...

presque 3 ans il y a | 0

Réponse apportée
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...

presque 3 ans il y a | 1

Réponse apportée
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...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 3 ans il y a | 0

Réponse apportée
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 ...

presque 3 ans il y a | 0

Réponse apportée
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) ...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 3 ans il y a | 0

Réponse apportée
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,...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
for PI feedback controller with un-unity feedback, final values is off
Hi @Abdulaziz Abutunis You can fix the issue by scaling the step input to match the gain in the feedback path (H) in order to e...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
2nd Order Non-Linear Equation Numerical Solution and Plot
Hi @Conlen O'Brien You can assign a display name to each state and toggle the legends. Also, if A and B are fixed constants, th...

presque 3 ans il y a | 0

Réponse apportée
EVALFIS : FIS must have rules.
Hi @Ceferino Please note that the input argument order for evalfis() has changed since the R2018b release. Additionally, there ...

presque 3 ans il y a | 0

Réponse apportée
Not enough input arguments Been over the code so much need fresh eyes
Hi @Taylor Millett The code for the fmincon part is now fixed and it returns a local minimum solution. % Constants rho ...

presque 3 ans il y a | 0

Réponse apportée
Error while creating DDPG RL agent
Hi @Muhammad Nadeem Error using deep.internal.network.dlnetwork/setLearnables Layer 'fc': Invalid Learnables. Expected...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
Deep reinforcement learning and TD3 algorithm in the PID control
Hi @Francisco Rodriguez Sanchez As a matter of common sense, for the cartpole system, any angle that deviates from precisely ±1...

presque 3 ans il y a | 0

Réponse apportée
Unrecognized function or variable 'i1'.
Hi @Dan Giffin I think you can do something like this: t = 0:0.01:10; f1 = 1/10; f2 = 1/5; % Call the function ThreeFun...

presque 3 ans il y a | 1

Réponse apportée
Creating a Smith Chart with load impedance only
Hi @Adham Elkhouly I'm not well-versed with plotting Smith Chart. But starting R2023b, the smithplot() function replaces the sm...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Can't solve the equations
Hi @Della I assume you want to plot something similar to this. However, please note that the solution set depends on the initia...

presque 3 ans il y a | 0

Réponse apportée
odextend initial guess error
Hi @구구 I believe the issue may be related to inconsistent initial values. Under normal circumstances, the subsequent extended s...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
How can I make a function that has an input that cake take handle both scalar and array values?
Hi @Samiyah Maybe you want to display the result like this? numSides = 4; sideLengths = [1, 2]; polygonArea(numSides, sid...

presque 3 ans il y a | 0

Réponse apportée
solve this rk's 4th orderr
Hi @tushar Look up this function, then write the basic code, post the code here by clicking this icon . help ode45

presque 3 ans il y a | 0

Réponse apportée
solve() "Unable to find explicit solution"
Hi @Andrew If this is related to deriving the transfer function using Laplace transform, then I prefer using the isolate() func...

presque 3 ans il y a | 2

Réponse apportée
How to add disturbance to system to check robustness of my MPC controller
Hi @Ashutosh I seldom employ MPC due to the challenges associated with deterministically controlling the controller's behavior ...

presque 3 ans il y a | 0

Réponse apportée
Input variable "trimf" does not exist.
Hi @Ceferino Some syntax issues. They are fixed as shown below: fis = mamfis; fis = addInput(fis, [0 100], "Name", "input_tem...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Incorrect Dimensions for matrix multiplication
Ld=(0:0.001:5); % <-- array is first defined here, but does not appear in Rtf L=0.007; Ta=25; h=375; Kf=175; Kd=0.032; ...

presque 3 ans il y a | 0

Réponse apportée
How I can separate a matrix that is not positive definite, into two matrices?
Hi @hossen hassanzadth Your expression "" appears to resemble an attempt at performing a Cholesky decomposition. However, it's ...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
How I can plot input signal in ode45
Hi @hossen hassanzadth Your initial query has already been addressed. To achieve step profile tracking using your designed gain...

presque 3 ans il y a | 1

Réponse apportée
How can we solve time dependent non linear equations?
Hi @Shadab Ali Do you expect complex-valued solutions? x0 = [3i 3i 4]; % there are 7 other solutions % x0 = [ ...

presque 3 ans il y a | 0

Charger plus