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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 0

Risposto
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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 2

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

Risposto
How to replace pi by a linear quadratic regulator inside the v/f scalar method to control speed of an induction motor?
@Luc RABE: Is this feasible when designing LQR regulator? It depends on whether the transfer function represents a first-order ...

oltre 2 anni fa | 1

| accettato

Risposto
How can I train ANFIS using Particle Swarm Optimization algorithm ?
Hi @Ahmad For the new data "heart_dataset.csv" with 13 inputs to 1 output, the Subtractive Clustering method will generate 209 ...

oltre 2 anni fa | 0

Risposto
I am getting different outputs when using lsim vs ode45 when solving second order coupled differential equations
Hi @Ethan Nobre The reason for the discrepancy between the 'lsim()' solution and the 'ode45()' solution is due to the differenc...

oltre 2 anni fa | 0

| accettato

Risposto
How can I train ANFIS using Particle Swarm Optimization algorithm ?
Hi @Ahmad The output (target) of the patient data constitutes a Boolean function, yielding values from a two-element set {0, 1}...

oltre 2 anni fa | 3

| accettato

Risposto
solving ODE by analytical & numerical solution
You are welcome, @승언 김. If you find the solutions helpful, please consider clicking 'Accept' ✔ on the answer and voting 👍 for it...

oltre 2 anni fa | 1

Risposto
solving ODE by analytical & numerical solution
Hi @승언 김 There are a few approaches to solving linear differential equations without the Control System Toolbox. Here is one of...

oltre 2 anni fa | 1

| accettato

Risposto
What is the problem with my code because i would like to get the same result as in the picture. Can you help me?
Hi @Luc RABE From the image you provided, the sampling time is definitely much shorter. I picked Ts = 0.02. Check the book. I b...

oltre 2 anni fa | 2

| accettato

Risposto
Obtain natural frequencies of a structural model.
Hi @Jorge Garcia Garcia Since the natural frequencies are related to the eigenvalues of the structural system, I believe you ca...

oltre 2 anni fa | 0

| accettato

Risposto
iam trying to solve a system of differential equations of car model using ode45 but I am always get an error
Hi @Mostafa Salah, The code is quite messy, with numerous unformatted local functions scattered throughout, making it visually ...

oltre 2 anni fa | 0

| accettato

Risposto
How do I simulate mini solar panels in series on MATLAB?
Hi @Aleena For beginners, it is usually recommended to derive the mathematical model of a typical system from some governing la...

oltre 2 anni fa | 1

Risposto
Hey there, I need some help with this error. Would anyone be willing to provide guidance?
HI @Danikha Shyken For a fixed-step solver, you can modify the settings in the Solver tab of the Configuration Parameters dialo...

oltre 2 anni fa | 0

| accettato

Carica altro