Answered
I am having trouble to define in matlab the transfer function of the following block diagram.
Hi @Jake In order to obtain the transfer function of the plant, you can likely perform the algebraic manipulations in the manne...

2 years ago | 1

| accepted

Answered
LQR for nonlinear system is running but not tracking
Hi @Kamal I wanted to bring to your attention that the controllability matrix does not meet the requirement of full row rank. I...

2 years ago | 0

| accepted

Answered
Index exceeds the number of array elements. Index must not exceed 1.
Hi @Deepti t I would recommend calculating the ITAE (Integral of Time-weighted Absolute Error) within the Simulink model and co...

2 years ago | 0

Answered
Learn Optimization Techniques with MATLAB
Hi @Donne If this is indeed a static optimization problem, the minimization of the volume of the cone clutch can be achieved by...

2 years ago | 0

Answered
How to solve 'out of memory' problem while solving coupled differential equation ?
Hi @Golam I have a suspicion that the main issue lies in the state equation of , possibly due to the excessively large values o...

2 years ago | 0

| accepted

Answered
How to chnage the coefficent for transfer function?
Hi @Shambaven Srimurugathas I believe that the following result is probably what you are seeking. Update 2: As per what you w...

2 years ago | 1

Answered
Finding range of variable for which eigenvalue of matrix is negative.
Hi @Manas I'm not sure how you mathematically derived the matrix in the question. However, based on your comment, the 3-by-3 st...

2 years ago | 1

Answered
Hi, I am new to Matlab. When typing in a line of code, nested in it is a helper function, can someone assist me with the correct placement of the helper function.unction
Hi @Augustine In the past, the convention was to save the helper function as a standalone m-file, typically placed in the same ...

2 years ago | 0

| accepted

Answered
I am having trouble with PID controller design Non minimum phase system
The pidtune() command from the Control System Toolbox can be applied to this problem. %% Plant s = tf('s'); Gp = (3e-09*s^...

2 years ago | 0

Answered
How to define Fuzzy Rules?
Hello @Moussa Here's how we go about estimating the number of rules based on the given number of inputs and the number of membe...

2 years ago | 1

Answered
Solution of a second order differential equation
Hi @Swami I've got a solution from the bvp4c() solver. syms y(x) L = 1; A = 1; p = x^2; s = 10*diff(y,x) + 100000*...

2 years ago | 0

Answered
Difficulties in pole placement of an observer usign "place" command
Hi @Salvatore De Luca In general, the Observer is typically designed to respond at least twice as fast as the full-state closed...

2 years ago | 0

| accepted

Answered
How do I make a secondary Y axis
Hi @Kami S Perhap a possible solution for manipulating the graph labeling is by using the yticks() command, which allows you to...

2 years ago | 0

| accepted

Answered
heat and mass transfer problem nonlinear differential equations
Hi @uma I wanted to inform you that I have discovered five sets of Equilibrium Points for the system. However, it appears that ...

2 years ago | 0

Answered
Questions about the PID controller of an inverted pendulum
Hi @Carmen Serrano Portillo Could you please check if the current response of the inverted pendulum under the PID controller al...

2 years ago | 1

| accepted

Answered
Index in position 1 exceeds array bounds. Index must not exceed 1.
Hi @Yu In addition to the technical points raised by @Jon and @Dyuman Joshi, there is a major issue with the way you have model...

2 years ago | 0

| accepted

Answered
how to solve these cubic equations with three terms and three equations
Annyeonghaseyo @재혁 Can you verify if the following three simplified equations are 100% correct, or are the equalities merely ap...

2 years ago | 0

Answered
Step Response Initial Value Unchangeable?
Hi @Edward Robson In the "Design Requirements" documentation, it is explained that the fields are greyed out because step respo...

2 years ago | 0

Answered
I am unable to run this program.
Hi @Puja I've indicated the location where you should apply a fix to it. second_oder_ode function second_oder_ode % ...

2 years ago | 0

| accepted

Answered
Nonlinear impact model of a tennis racket and a ball
Hi @Farnam I wanted to share that Andre Agassi is my all-time favorite professional tennis player. When observing the motion of...

2 years ago | 0

Answered
Nonlinear Iteration is not converging?
Hi @Yusuf Taha Okutan Based on your Simulink model titled "PID.slx," it seems that you are attempting to simulate the motion of...

2 years ago | 0

Answered
Searching for resources , books or PDF
Hi @AMIT SURYAVANSHI You can explore MathWorks-endorsed books on Communications Systems by visiting this link: https://www.math...

2 years ago | 0

| accepted

Answered
I dont know how to integrate a function with variables depending on time
Hi @Diego Martínez Caldas You can utilize the odeToVectorField() function to convert the 2nd-order differential equations to a ...

2 years ago | 2

| accepted

Answered
How can I design and simulate an anti-surge controller for centrifugal compressor using Fuzzy Logic controller?
Hi @MADUKA CHIKA I came across a relevant paper titled "PID and Novel Approach of PI Fuzzy Logic Controllers for Active Surge i...

2 years ago | 0

| accepted

Answered
Looking for an state controller for NON-linear systems
Hi @Martin Mittrenga Update: Since the system is nonlinear, traditional methods like Ackermann's method won't be suitable. Howe...

2 years ago | 0

| accepted

Answered
Error message when running Simulink model with regards to Adaptive High-Order Terminal Sliding Mode Control
Hi @Syeda Nadiah Fatima The power term , where , in the sliding surface equation (Eq. 12), , can lead to issues, and it may eve...

2 years ago | 0

Answered
I need help with ode45 function, how to write the code?
Hi @Zlatan It's great that you figured it out. Anyway, here is the code snippet for the state-space version. I would suggest pl...

2 years ago | 0

Answered
Why everytime I am trying to write the values for num and den in the transfer function block I get num(s)/den(s)?
Hi @Alexander Guillen & @Kurniawan Let's say we want to input a third-order critically-damped system into the Transfer Functio...

2 years ago | 0

Answered
what is the area of the solar panel?
Hi @ali burak If you take a look at the block parameters of the PV Array in the Simulink model, you will find information about...

2 years ago | 0

Answered
Is there any MATLAB three-phase imbalance optimization code?
Hi @吴权敏 吴 If you're looking for MATLAB codes or Simulink models, I suggest checking the File Exchange first to see if they are ...

2 years ago | 0

Load more