Respondida
PID controller and PID tuner for a SIMO system
Hi @Mikel Your system is . If you algebraically design as , then the closed-loop becomes . Since you didn't specify the...

alrededor de 4 años hace | 2

| aceptada

Respondida
Alternative to the Differential block
Hi @Joe Jones You can try the Robust Exact Differentiator Block: http://www.reichhartinger.at/

alrededor de 4 años hace | 0

Respondida
plotting predator-prey model and its phase portrait
Hi @Krtin Kala If you want to plot the phase portrait, you can try using the numerical approach. % Parameters A = 2/3; B = 4...

alrededor de 4 años hace | 2

| aceptada

Respondida
How to show plot in interval of 3?
Hi @Ara Here is an example to use ax.XTick: x = linspace(0, 24, 2401); y = 30*(sin(2*pi/24*x) + 1); plot(x, y, 'linewidth', ...

alrededor de 4 años hace | 2

| aceptada

Respondida
How I can give condition & plot the solution of this differential equation. . . . . . . Please Guide
Hi @DEEPAK KARARWAL Giiven the parameters, it seems that if you select initial values and , the boundary values are satisfied....

alrededor de 4 años hace | 0

Respondida
Can anyone help me in getting this graph using the attached equation (16).
Hi @Nudrat Sufiyan Guess you need to type out this equation and insert the parameters Example only, not true equation. ...

alrededor de 4 años hace | 2

| aceptada

Respondida
Can Someone help me with this Size error? I am working on Fuzzy Logic controller of Fuel cell and when i place Fuzzy Logic on Voltage it gives me this error
@Muzammil Naeem Update 26 Jul 2022: There are two inputs going into your FINALFANFUZZY.fis However, you connect the inputs...

alrededor de 4 años hace | 0

Respondida
State and Output Function of a nonlinear dynamics to use is NMPC
Hi @seyyed Erfan ghoreyshipour The axial-flow pump system is governed by this equation: . So, the State variable in this equa...

alrededor de 4 años hace | 0

| aceptada

Respondida
How to Get Second Derivative in ode45 solver?
Hi @ercan duzgun You don't need to..., because you can see the elephant in the room (not sure if this is the correct metaphoric...

alrededor de 4 años hace | 2

| aceptada

Respondida
How can I numerically solve an equation with a sum of exponentials with parameters to the exponent?
Hi @IRENE TRENTA Let's test if this numerical method is simple enough or not. This method requires an initial guess. fcn1 = @(...

alrededor de 4 años hace | 2

| aceptada

Respondida
How to use switch case with PID controller?
Hi @nisha bhatt I think the switch looks like this: Since there are two 's, I guess you will need two PIDs.

alrededor de 4 años hace | 0

Respondida
how can i build logic in simulink model when statement is if output >=1 then the input should change its value to 0. by using feedback control loop system?
Hi @Rakesh Singare I see the piecewise function as the mathematical equivalent to the logic. For example: x = linspace(-3, 3, ...

alrededor de 4 años hace | 0

Respondida
solving a differential equation using ode45 but the problem is i didn't get what i expected.
@SAHIL SAHOO Nothing wrong with code. The ode45 produces the solution based your given equation and input parameters. However,...

alrededor de 4 años hace | 1

| aceptada

Respondida
Ordinary differential equation, transforming into a single ODE
Hi @greg I copied the code from https://www.mathworks.com/help/matlab/ref/ode45.html#bu3uj8b and pasted here. After some modi...

alrededor de 4 años hace | 0

Respondida
How to plot a special plane x-y=5 with surf function
HI @Wei Wei, not exactly sure about the "special" thing. Do you expect something like this? [X, Y] = meshgrid(-1:2/40:1, -5:5/4...

alrededor de 4 años hace | 0

Respondida
I need to know the order of solution vector i-e how solution is stored in solution vector of coupled 2nd order differential equations
@Haseeb Hashim, Aha, I see. You will have to remove the semicolon at the end of this line [VF,Subs] = odeToVectorField(Eq1, E...

alrededor de 4 años hace | 2

| aceptada

Respondida
How to find x values of specified y point on the graph ?
Hi Zack, You can use <https://www.mathworks.com/help/matlab/ref/interp1.html interp1> technique.

alrededor de 4 años hace | 0

Respondida
solving a single differential equation by using ode45, but it can't solve should I write something else.
@SAHIL SAHOO, based on the ODE in this image the output probably becomes like this: ti = 0; % inital time tf = 1...

alrededor de 4 años hace | 1

| aceptada

Respondida
Using Euler method to solve second order ODE
Hi @Yuval Levy Some minor issues. If you use Euler's method and you want to simulate for a relatively long duration, then you n...

alrededor de 4 años hace | 2

| aceptada

Respondida
how to solve the program?
Hi @prajith samraj Try manipulating the parameters to get different results. % Solver tspan = [0 20]; x10 = 0.11; x2...

alrededor de 4 años hace | 2

| aceptada

Respondida
Please help me solve this differential equation
Hi @Armel Kapso Some basic code from the ode45 documentation. Probably looks like this, try manupulating the parameters yoursel...

alrededor de 4 años hace | 1

| aceptada

Respondida
Fuzzy controller warning solving
Hi @Andrea Tonelli Basically, it implies that your fuzzy system is not designed properly. Yes, it can run, but the defuzzified ...

alrededor de 4 años hace | 0

Respondida
RMS of Piecewise Function
@Smitty Can you check if this is the expected RMS value over the interval ? t = linspace(0, 2, 2001); y = - sin(2*pi/8*t); v...

alrededor de 4 años hace | 1

| aceptada

Respondida
Produce a graph with the increase of the temperature in the compartment over the time, for 4 different types of fire.
Hi @hugo harel Try experementing the code. This should be simple enough for you to understand % Slow Fire T1 = 1493.97719; t...

alrededor de 4 años hace | 0

Respondida
please give me the ansdwers
@ABHIJITH Try experimenting the code. n = 3; for i = 1:n N = rand(1,i); end N

alrededor de 4 años hace | 0

| aceptada

Respondida
Ploting Intersection point of three circles
Hi @Talha Sami Didn't change your code except for adding the minus signs and swapping the symbols in the two formulas. See @Joh...

alrededor de 4 años hace | 1

Respondida
specify the number of iterations in genetic algorithm matlab (ga)
Hi @mohammed hussein Here is a simple example where you can vary MaxGene and check the accuracy of the result. fun = @objf...

alrededor de 4 años hace | 1

| aceptada

Respondida
how do i write planck's blackbody formula in matlab?
If your equation is mathematically correct as given, then it should be like this: E = (()./(L.^5)).*(1./exp(((h*c)./(L))*k*...

alrededor de 4 años hace | 0

Respondida
How to create this matrix ?
@Akash Pal Despite the Matrix Law forbids the operation, we can nearly always perform miracles with MATLAB, so long as you give...

alrededor de 4 años hace | 1

Respondida
How does the pressure change with time?
Hi @sanjeet mansoor I'm unfamiliar with your Hydraulic system. If the system is correctly described by the following equation ...

alrededor de 4 años hace | 0

Cargar más