回答済み
Help me convert this Equation
Hi @shammas mohamed Edit: There are two correction in the equation. Thanks @Walter Roberson for pointing out. % Parameters Co...

3年以上 前 | 1

回答済み
What is wrong with my code, my equation is vdv/dy=-G*M/(y+R)^2 ?
Hi @Laura This is a simple example of using the solver's syntax that you can find in the ode45() documentation. If there are un...

3年以上 前 | 0

回答済み
Is it possible to create a transfer function in Matlab with unknown constants
Hi @Dario Not exactly sure what you meant by the unknown constants of and . Equivalent state-space model If they are tunabl...

3年以上 前 | 0

回答済み
I want to use a Lateral Controller like Stanley or PID for my automated driving car with using Gps Coordinates.
Hi @Ihsan A path planner function using the A* algorithm is available in the Navigation Toolbox; the function is called planner...

3年以上 前 | 0

回答済み
How can I simulate a spring mass damping system without singularity error in Simulink?
Hi @Abdurrahman Faig From the Simulink model, the dynamics can be reconstructed as and then rearranged to . This nonlin...

3年以上 前 | 0

回答済み
Genetic Algorithm output is different than manual calculation
Hi @Kalyan Dash Look at the angular frequency of the sinusoidal component, you will see it is a high-frequency signal. In your...

3年以上 前 | 2

| 採用済み

回答済み
Wind turbine model block, cp(lambda, beta) function syntax error
Hi @Rajagurunathan P The error clearly tells you that the math expression has a syntax error, which is a common error when prog...

3年以上 前 | 0

回答済み
Matlab 'pidtune()' function Algorithm
Hi @Ann-Christin Schlupek The PID Tuning Algorithm is described on this page. In slightly technical terms, pidtune() contains ...

3年以上 前 | 0

回答済み
how to model stairs in simscape multibody?
Hi @Nayla Are you looking some kind of "staircase-shaped function" that is generated by a mathematical function? Or, you are l...

3年以上 前 | 1

| 採用済み

回答済み
im trying to model the drive train model of wind turbine, i need to get oscillation and the steady state waveform
Hi @peddada sandhya rani In the absence of the effects of the constants and in the original math model, then the system is st...

3年以上 前 | 2

回答済み
How to input exponentials in transfer functions using Simulink?
Hi @Milca Munguia You can insert the Transport Delay block (found in the Library of Continuous function blocks) after the trans...

3年以上 前 | 0

回答済み
LQR regulator doesn't regulate the system
Hi @DoctorCrow Your selection of and results in the closed-loop eigenvalues having negative real parts very close to zero. Co...

3年以上 前 | 1

回答済み
Fuzzy logic rule for out of range
Hi @Luca Ferro, Thanks for the sketch. I don't know your desired intervals, but linsmf should be the one that looks like your ...

3年以上 前 | 2

回答済み
how to give speed in quarter car model/
Hi @Vikas I'm no expert but I think the speed of the car is somewhat related to the Road Surface Profile. If the car stops tra...

3年以上 前 | 1

回答済み
Why is the ODE45 producing NaN values for all the set of solutions?
Hi @Udaya Kiran S This is how I checked. It is because some parameters in produce Inf and NaN, where your ODEs depend on. Yo...

3年以上 前 | 1

| 採用済み

回答済み
ControlSystemDesigner displays empty graphs
Hi @Fernando Lopez Update: The Control System Designer App can be opened. The Toolbox and the function have no issue. Have you ...

3年以上 前 | 0

回答済み
ode45 for sinc function
Hi @Muhammad Although your system is highly nonlinear, the ode45 can evaluate the sinc() function. However, your choice of init...

3年以上 前 | 1

| 採用済み

回答済み
How to solve three coupled partial differential equations using matlab code?
Hi @Shreya There is an article on Solving Partial Differential Equations. The corresponding article is linked. https://www.ma...

3年以上 前 | 0

回答済み
LQR controller tuning in a closed loop system problem
HI @Junhwi The LQR in this example is designed in continuous-time. Can you obtain the discretized control system? % LQR DC mot...

3年以上 前 | 2

| 採用済み

回答済み
Simulink error: Time-Varying State Space block
Hi @John If you want to get the state vector , then you can consider this approach because the output vector can be constructe...

3年以上 前 | 2

| 採用済み

回答済み
eig(a,b) matlab symbolic
Hi @mohamdi mohamed Are you looking for the analytical solution like this? syms k1 k2 kx m1 m2 K = [k1+kx -kx 0; -k...

3年以上 前 | 2

| 採用済み

回答済み
how can i use the genetic algorithm in order to optimization the pid controller in quadruple-tank system
Hi @aseel mohammed Here are the steps to use the genetic algorithm (GA) to optimize the PID controller in the quadruple-tank sy...

3年以上 前 | 0

回答済み
Which requirements and Tuning Methods in Control System Designer are needed to tune PID parameters in a cascaded loop when intput is an oscillating signal
Hi @Iaroslav Gryshchuk The 2nd-order plant is non-minimum phase. I'm unable to track the relatively fast 1 Hz sinusoidal signal...

3年以上 前 | 1

回答済み
Plotting a Sine wave in MATLAB
Hi @AluminiumMan The first example of the plot() function doc exactly shows how to plot a sine wave. https://www.mathworks.com...

3年以上 前 | 0

回答済み
hello I am using a bat optimization algorithm on an adaptive control and this what happened after running code
Assuming that the system is stabilizable and controllable, if the Bat algorithm works well for other optimization problems, then...

3年以上 前 | 0

回答済み
How do i know the name of these blocks that marked below
Hi @Karam Karas Block in yellow circle looks like a Mask, which is a custom user interface for a block, but can be easily const...

3年以上 前 | 1

回答済み
Can you explain P(s) block of simulink model of fuzzy ann controller?
Hi @AJEESH ANTONY P The P(s) block is actually a Proportional Controller block (set from the default PID block) with the extern...

3年以上 前 | 1

| 採用済み

回答済み
Does anyone know the Transfer Function for a Tubular Heater?
Hi @Chelsea Kaye Vergara You will find probably find this article useful for modeling the dynamics of the tubular heater. The ...

3年以上 前 | 1

| 採用済み

回答済み
how to convert tranfer function into a polynomial function?
Hi @H I think you use the minreal() and tfdata() function. s = tf('s'); ncp = 1.656e09*s^4 + 2.751e12*s^3 + 1.196e15*s^2 + 4....

3年以上 前 | 0

回答済み
Combining 2 values in Simulink
Hi @Prasad Joshi Initialize a vector for y will solve the issue. Else, you can also use the Matrix Concatenate block. function...

3年以上 前 | 0

さらに読み込む