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

約3年 前 | 2

| 採用済み

回答済み
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年 前 | 0

回答済み
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年 前 | 0

回答済み
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年 前 | 1

回答済み
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年 前 | 0

回答済み
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年 前 | 0

回答済み
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年 前 | 1

| 採用済み

回答済み
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年 前 | 0

回答済み
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年 前 | 0

回答済み
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年 前 | 2

| 採用済み

回答済み
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年 前 | 0

回答済み
Using problem based optimization to control a system
Hi @2Lindsay2, I'm unsure of what your expectation is. However, if the final position is changed to the origin, then the conver...

約3年 前 | 0

回答済み
Runge-Kutta-4th-order solution of 3 ODEs
Hi @Turgut Ataseven Fix the code as indicated below: tspan = [0 20]; % Time interval y0 = [5 5 5]; % Initial conditions...

約3年 前 | 2

| 採用済み

回答済み
how to to make model on simulink to check rise time ,overshoot ,steady state error of tf ?
Hi @Muhammad Since you can use tf() function, I presume you have the Control System Toolbox. In the Simulink model, you can se...

約3年 前 | 0

回答済み
Solution Plot of the Constant Harvesting Function with Directional Field
Hi @Gith I'm unsure, but I think that it was the quiver scaling issue when the carrying capacity is too large (on the Y-axis),...

約3年 前 | 0

回答済み
How to normalize surf plots?
Hi @Athira T Das Are you looking for a plot with normalized output? syms x y x0 = -.5:0.001:.5; y0 = x0; w0 ...

約3年 前 | 1

| 採用済み

回答済み
PID altitude control of quadcopter
Hi @Dhruvilkumar Chavada The following example is based on the pure math analysis on the contineous-time equations of motion gi...

約3年 前 | 0

回答済み
Predicting the value at y(t=8) using my model
Hi @Matt Boyles You can try something like the following to estimate the output. However, there is no guarantee that the estima...

約3年 前 | 0

回答済み
State-Space Matrix Closed Loop System C Matrix issue
Hi @Pablo Graale The output of the state-space system is . Your Ackermann's controller is full state-feedback, not output-feedb...

約3年 前 | 2

| 採用済み

回答済み
If I have a sigmoid equation depend on time and I want to input to Runge Kutta Orde 4Th equation. So, the graph show the sigmoid from Runge_kutta . How to call the function?
Hi @cindyawati cindyawati The RK4 algorithm by Cleve Moler, is available in File Exchange. https://www.mathworks.com/matlabcen...

約3年 前 | 1

回答済み
How to change angles to 0 to 180
Hi @TTA Are you looking for the conversion like this? Angles180 = @(a) a/2 + 90; Result1 = Angles180([-180, 0, 180]) Res...

約3年 前 | 1

| 採用済み

回答済み
how to design a second order sliding mode control for speed of switched reluctance motor on simulink ?
Hi @Mohammed Amin The block in Circle #1 is a Derivative Block, and the block in Circle #2 is the linear State-Space Block. Cli...

約3年 前 | 0

回答済み
If I have a sigmoid equation depend on time and I want to input to Runge Kutta Orde 4Th equation. So, the graph show the sigmoid from Runge_kutta . How to call the function?
Hi @cindyawati cindyawati I'm unsure if I understand the issue correctly. Do you expect a plot like this? tspan = linspace(...

約3年 前 | 1

| 採用済み

回答済み
How to model PI flow control with throttling (butterfly) valve in hydraulic centriful pump Simscape/Simulink model?
Hi @DB Due to the static nonlinearity of the valve characteristics, it is possible to find an inverse function for the valve in...

約3年 前 | 1

回答済み
Solving a differential equation using ode45
Hi @GOBIND KUMAR, The code for the ode45 part can run. No issue with that. So, I think the problem lies in the computation of ...

約3年 前 | 0

回答済み
Why Fuzzy logic Designer unable to open the Fis File?
Hi @Yara Physically check if the mamdanitype-01.fis is still there in the target folder. Check if the contents in the mamdani...

約3年 前 | 0

回答済み
Derivative of state '1' in block ' 1/s Integrator' at time 42.104565484973058 is not finite
Hi @Yingxin Zhang Without a set of mathematical model to compare with the Simulink model, it is rather difficult to identify th...

約3年 前 | 0

回答済み
Fuzzy Logic Toolbox - addRule throws "Do not use a rule keyword as a membership function name" error
Hi @tulu There are several typos. If you make the code less 'cluttered', you can spot the mistakes easily. The code is now is f...

約3年 前 | 2

回答済み
simulation of a levitating object
Hi @Andeol Gillet Generally, you can follow these 3-D's steps to design the controller for a Maglev system: Derive the mathema...

約3年 前 | 0

回答済み
tf and damp, all need the numerical coefficients of the transfer function
Hi @li hu Finding the poles (roots of the denominator) is like solving polynomial equations. However, if it is 5th-degree and ...

約3年 前 | 0

さらに読み込む