Respondida
Finding the H infinity norm of a system
Hi @Kashish Pilyal Perhaps try using hinfnorm() to compute the H∞ norm of a dynamic system. Edit 1: Looking at your code, it s...

casi 4 años hace | 0

Respondida
in this I apply a loop so that I will have different value of Y(:,11) for the different value of initial condition for Y(:,11), what is correct algorithm for this??
Hi @SAHIL SAHOO Your k vector is assigned incorrectly. Try if this code works for you. ti = 0; tf = 1E-3; tspan = [ti ...

casi 4 años hace | 1

| aceptada

Respondida
First order PID controller
Hi @John Rogers Just some additional info. The plant is a 1st-order Type-0 system. num = [85]; den = [42 1]; Gp = minreal(t...

casi 4 años hace | 0

Respondida
pid for dynamic malaria
Hi @af af Not sure what are PID controllers for the Malaria dynamics. However, by the mathematical manipulation, you can probab...

casi 4 años hace | 0

Respondida
How to implement PID anti-windup in my m-file (i.e., without using Simulink)
Hi @Ali Not sure if you are still interested. If the output of is within the range of the actuator, then the anti-windup is pr...

casi 4 años hace | 0

Respondida
How to; For loop of angle in projectile motion
Hi @Aston g = 9.82; % gravity v0 = 100; % inital velocity theta0 = pi/6; ...

casi 4 años hace | 0

Respondida
How to find the value of PID using ziggler 2 method
Hi @Raka Adhwa Unsure if you are still interested in the problem. But if the model is available, then the analysis can be perfo...

casi 4 años hace | 0

Respondida
Density Control in Tank (TL) - Simscape
Hi @Keshav Arora, thanks for the density equation. I'm don't know how density works in the Simscape watertank. However, you ca...

casi 4 años hace | 0

Respondida
Design PI regulator with constrictions
Hi @Alejandro Fernández Proposal #1: Linear compesator If the restriction on the output of the compensator can be relaxed a l...

casi 4 años hace | 0

Respondida
PID controller optimization in simulink using parallel simulations in objective function
Hi @Irfan Khan I'm unfamiliar with the Simulink approach, but in MATLAB, the script to find the PID gains subject to ITAE crite...

casi 4 años hace | 0

Respondida
System Modelling of mechanical diesel propulsion vessel
Hi @Sharul Baggio Taking this introductory tutorial on Simulink Onramp should be helpful to get things started. https://www.ma...

casi 4 años hace | 1

Respondida
Implement PID in ode45 code
Hi @Kashish Pilyal If the error is defined as then P part is I part is D part is and you can arrange then in the stat...

casi 4 años hace | 1

| aceptada

Respondida
state estimation error observer design
If the error dynamics is described by a linear model Esys, then n2 = norm(Esys, 2) computes the root-mean-squares of the impul...

casi 4 años hace | 0

Respondida
how can add PI to ode45?
Hi @karim_karimo Here are the mathematical preliminaries for constructing the PI in ODE form. [t, x] = ode45(@system, [0...

casi 4 años hace | 1

| aceptada

Respondida
How to solve 3 non-linear equations with 3 unknowns?
Hi @Stefan Krieg, You can use vpasolve(). q = 1.60218e-19; %electron discharge V_oc = 4*44.8; %Open c...

casi 4 años hace | 0

Respondida
how to DESIGN ADAPTIVE NEURO-FUZZY INFERENCE SYSTEM (ANFIS)
Hi @welesh beyene Have already recommended you to use ode45() function. Links and Examples were given previously. https://www....

casi 4 años hace | 1

Respondida
how to extract data from sys=ss(A,B,C,D) that is , inputs and outputs
Hi @welesh beyene, Let's try this simple state-space model and generate the data using ode45() function (click on the link): ...

casi 4 años hace | 1

Respondida
Obtain transfer function from (noisy) measurement data and use this transfer function for control in simulink
Hi @tiessen Do you want to estimate the frequency response the Transfer Function or a real mathematical function-type of the Tr...

casi 4 años hace | 0

Respondida
how to extract data from sys=ss(A,B,C,D) that is , inputs and outputs
Hi @welesh beyene A = [-300 0 0 0 0 0; 0 -300 0 0 0 0; 0 0 0 0 1 0; 0 0 0 0 0 1; 10.7206 -9.5648 10.7206 -9.5648 0 0; -9.5648 1...

casi 4 años hace | 1

| aceptada

Respondida
Division by zero error and Singularity error in my simulink model
Hi @BISMARK Can you insert a picture of the Block Diagram under the Mechanical model mask? If Simulink throws this kind of 'is...

alrededor de 4 años hace | 0

Respondida
Is it possible to switch between multiple adaptive MPC controller?
Hi @Artem Wendler I'm not sure how complicated is your problem. If the ON/OFF switching is triggered by a simple event that dep...

alrededor de 4 años hace | 0

Respondida
How to calculate IAE between zero-crossing
@PAOLO OLIVIERI Are you looking for a MATLAB or Simulink solution? sys = ss([0 1; -1 -1], [0; 1], [1 0], 0); [y, t] = step(sy...

alrededor de 4 años hace | 0

Respondida
Cubic poly trajectory function
Hi @Odesanmi Gbenga Abiodun One practical alternative and a mearning way to learn how to generate 3rd-order trajectories is to ...

alrededor de 4 años hace | 1

Respondida
Transition from one condition to another with a certain pattern - Simulink
Hi @patr chri Mathematically yes, the smooth path of transition can be designed. Here is an example: Guess you have found th...

alrededor de 4 años hace | 1

Respondida
How to model a rotating heat source in Simulink?
Hi @Mukti Chaturvedi To model a process (rotating heat source) in Simulink, you need a mathematical equation and some parameter...

alrededor de 4 años hace | 0

Respondida
How to input (A/s) as source input signal in Simulink?
Hi @CHUN-KUAN CHIH The symbol 'A' probably stands for a reference amount of the setpoint to be entered. You insert a Gain Block...

alrededor de 4 años hace | 0

Respondida
How to programe clipping sine wave
Hi @Mvana Cannot open your jpg (I'm lazy to fix the link). If you study Pure Math in high school, you need to use the sign func...

alrededor de 4 años hace | 1

| aceptada

Respondida
fuzzy and ode system
Hi @fateme zrbd Say the ODE is given by where and are the coefficients of the state and the input , respectively. From ...

alrededor de 4 años hace | 1

| aceptada

Respondida
How can I create a pulse train which is not periodic? A sample program has been attached.
Hi @BIPIN SAMUEL I followed an example in this link and modifed values of the parameters. Do you think it can be applied to you...

alrededor de 4 años hace | 0

Respondida
How to plot this function
Hi @Dinh Le Dung Think it should look like this: [X, Y] = meshgrid(-0.5:1/40:0.5); Z = X.*Y.*(X.^2 - Y.^2)./(X.^2 + Y.^2); s...

alrededor de 4 años hace | 1

Cargar más