Answered
can I directly change the ODE?
Hi @Lo The initial values for MP0 and MPcircular0 are not provided. So I made up some values and it displays the trend similar ...

3 years ago | 0

Answered
help for transfer function and your analysis
Hi @Camilo Mahnert Cataldo It is possible to manipulate the first variable to reach a certain setpoint using PI Controller. Ho...

3 years ago | 0

Answered
How to control the house temperature using a fan system?
Hi @hunter manana I'm unsure of how your house temperature control mechanism works. But if based on the thermal dynamics provid...

3 years ago | 0

Answered
Time variable for robot trajectory
Hi @Claude Mathias After checking your comment, I think you need to update the polynomials for each time interval. For one-time...

3 years ago | 1

| accepted

Answered
I require frequency response from transfer function = 1/(s^2+(b/m)*s+k/m) where b= 0.0011, k= 87.88 , m = 0.99 in matlab and i need freq in khz
Hi @sia If you simply want to obtain the plot for the "transfer function 1/(s^2 + (0.0011/0.99)*s + 87.88/0.99)," WolframAlpha ...

3 years ago | 0

Answered
lorentz simulation error what is the error please help
Hi @Numan I have fixed the code in f(t, r) function, by adding the definitions for x, y, z. Check if the results are expected. ...

3 years ago | 0

Answered
Adaptive variable impedance control
Hi @Edgar Yang I'm unfamiliar with your control thing because I cannot find where the adaptive law of variable impedance is. N...

3 years ago | 1

| accepted

Answered
Identify rule that governs pattern in series.
Hi @Jake If you are 100% sure that the data is the response of a damped harmonic oscillator, then you should fit it using the m...

3 years ago | 1

| accepted

Answered
Change value of parameters in simulink over time
Hi @Hoang Vu Huy If the parameters in the transfer function vary over time, then it is a nonlinear system. Nonlinear systems n...

3 years ago | 2

Answered
Surface Fitting of the Markov Modulated Poisson Process
Hi @Ghattas Akkad I have tested an example. If the surface is smooth and has a sufficient number of membership functions, the A...

3 years ago | 1

Answered
High Oscillations in 6DOF Aircraft Dynamic Simulation
Hi @George Given that an F-16 aircraft is capable of achieving a maximum speed of Mach 2, it may induce the aeroelastic flutter...

3 years ago | 0

Answered
I need MATLAB code that plots the aerodynamic power generated by a wind turbine vs the generator rotation speed for different wind speeds
Hi @itouchene You can clearly identify the relationship here: If the aerodynamic power is , the rotation speed is , and this...

3 years ago | 0

Answered
Simulink Constant Ramp Controller
Hi @Alexander Reiter I didn't check the Simulink model. However, the desired response can be achieved with a nonlinear controll...

3 years ago | 1

| accepted

Answered
fitting data with a combination of exponential and linear form ( a*exp(-x/b)+c*x+d )
Hi @Md Shariful Islam The data seems to exhibit the pattern of an nth-root function (a form of the power function), given by ...

3 years ago | 1

Answered
Solving a system of 9 coupled equations, among which 6 are 2nd order and 3 are 1st order differential equations for realistic projectile flight.
Hi @Muhammad Areeb Khan Generally, we use ode solvers to numerically solve differential equations. You have probably heard abou...

3 years ago | 1

| accepted

Answered
How do i add a changing input over a interval using ODE45?
Hi @Dirk te Brake I am unsure if I understand your 4-state differential equations. However, a speed bump can be mathematically ...

3 years ago | 0

Answered
I want to correct the trajectory of the double pendulum model.
Hi @KM, I can see the image, but I'm unsure if I can visualize the swing motion that you described. Perhaps you can try compar...

3 years ago | 0

Answered
How to plot a linear piecewise function on matlab?
Might as well... but this approach requires the fuzzy logic toolbox. https://www.mathworks.com/help/fuzzy/linzmf.html https:/...

3 years ago | 0

Answered
by changing input of fuzzy system the output does not change
Hi @arash rad The outputs change in the two tests below. More importantly, please check if the decision surfaces are expected a...

3 years ago | 1

Answered
LQR with variable matrices
Hi @Matteo Cazzetta The computation of the Linear Quadratic Regulator (LQR) requires solving the algebraic Riccati equation. In...

3 years ago | 2

| accepted

Answered
Hello, please can anyone help me write the following functions in matlab?
Hi @Paolo I show you one example. You can learn it in 10 seconds. syms f(y) % create a symbolic function...

3 years ago | 0

Answered
How do I start modelling a liquid handling robot in Matlab?
Hi @John Smith Start by defining the coordinate frame. The Cartesian grid seems to fit in this application. Next, define the ...

3 years ago | 0

Answered
How can I change the symbol z to w in this figure?
Hi @Aisha Mohamed It is possible to labels of the data tips. Please refer to this example. https://www.mathworks.com/help/matl...

3 years ago | 1

Answered
Can anyone explain me what this symbol signifies?
Hi @Sarthak Mohanty The blocks are definitely not from Simulink. However, from the knowledge of this equation , it is probably ...

3 years ago | 0

Answered
ODE 45() equation problem, in the output screen, there are dozens of ans = 0 and ans = 1.
Hi @Sarah Millikin An example is shown below: tspan = [0 10]; x0 = 0; [t, x] = ode45(@odefcn, tspan, x0); % Solution...

3 years ago | 0

Answered
How to design a fractional order pid controller?
Hi @mohammad sh Unsure if you are asking about the math or the code. If math, then you should learn about the fractional-order ...

3 years ago | 1

| accepted

Answered
My Pole Placement is giving an error
Hi @johannes, For SISO systems (as in your example), it is possible to manually determine the gain matrix such that the multipl...

3 years ago | 0

Answered
I wonder why the following code is not able to give a valid output? My objective is to solve a system of simultaneous ODEs with dirac comb func.
Hi @Mridupawan Deka I'm unsure if you expect the solutions like in these plots. Please check the functions of . The Dirac del...

3 years ago | 0

Answered
How can I find equilibrium points in a non linear ODE
Hi @Karl-JR If you unsure of how to analytically find the equilibrium point for the unforced case, then try look for "how to fi...

3 years ago | 2

| accepted

Answered
how can I get ABS Control/Simulation Toolbox?
Hi @Daniel Atomsa If you have Simscape, then take a look at this example of modeling the Anti-Lock Braking System (ABS). https...

3 years ago | 0

Load more