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

Answered
I want some example Simulink model for this one
Hi @Mohamed Althaf Here are two examples of PV that you can use to test out your innovative optimization technique. Example 1:...

2 years ago | 2

Answered
control design for marginally stable system
Hi @Mohamed Since no performance requirements are specified, the pidtune() command can be used as the initial step in designing...

2 years ago | 0

Answered
I'm new to MATLAB and I'm interested in creating an optimization algorithm. Can someone provide guidance on how to get started?
Hi @SRINIVASULU, When you talk about "creating an optimization algorithm," do you mean that you want to invent a novel optimiz...

2 years ago | 0

Answered
How to create an envelope in a plot from a csv. data?
Hi @Mathias Braun MATLAB has a function called envelope() that enables users to compute the upper and lower envelopes of a sign...

2 years ago | 0

Answered
Finding Transfer function of robot finger
Hi @abdulsamed kaymakci I understand that most of us seek productivity, aiming to produce acceptable results (without the need ...

2 years ago | 0

Answered
Hello everyone. Is it possible for me to use ANFIS model as an objective function in PSO? I will appreciate a code or any other way of going about it.
Hi @ELLY Theoretically, you can employ the ANFIS model for prediction within (rather than as) the objective function. In this s...

2 years ago | 0

Answered
Regarding Pole Placement Techniques
Hi @MUHAMMAD ANAS SULHI Just a heads up, it looks like you forgot to convert the original state-space system to phase-variable ...

2 years ago | 1

Answered
If the input step is more than 1 degree (ex 5 degrees), do i need to change degrees to radians ?
Yes @Patcharaporn, you would typically need to convert the input from degrees to radians in system analysis, especially when dea...

2 years ago | 0

Answered
How to fix the "simulation hits (1000) consecutive zero crossings" error in Simulink?
Hi @pravin behera I've partially recreated your Simulink model, and it looks quite similar to the Classical Sliding Mode Contro...

2 years ago | 0

Answered
I would like to know how to provide feedback on the scope's data during the simulation time.
Hi @석준 The errors likely don't stem from the Scope but are more likely a result of the system being excessively stiff, or the s...

2 years ago | 0

Answered
What does "invalid use of operator" mean here? I add parenthesis, that becomes error, i remove it and then the operator becomes the error...
Hi @Yuvraaj Pasumarthy I didn't check the correctness of your equation. However, I have fixed some parentheses and added a dot ...

2 years ago | 0

| accepted

Answered
How to check the linearity of a system by using a Transfer function which is consisted of PID Parameters and other two constants?
Hi @Raveesha Bandara If your models of the actuator and sensor are fairly accurate, then consider using these formulas to calcu...

2 years ago | 1

| accepted

Answered
Sliding Mode Controller for the Double Integrator
Hi @DAYAL ND Not sure if you'll see this or not. After all, this problem was posed around 12 years ago. I rarely come across SM...

2 years ago | 0

Answered
Assistance Needed: Solving System of Equations in MATLAB
Hi @khadija Because the system is underdetermined, the 'solve' command returned some free parameters in which you can assign va...

2 years ago | 0

Answered
MATLAB Answers Wish-list #6 (and bug reports)
Hi @Rik I've been enjoying the forum and appreciate the efforts to make it user-friendly. I wanted to suggest a feature that co...

2 years ago | 0

Answered
How do I use orbital integrators for orbital propagation of Halo orbits?
Hi @Dixing These are not solid answers because your MATLAB code has not been tested. Different numerical integration methods ex...

2 years ago | 0

Answered
what is the MATLAB code for Sketch the polar plot of the frequency response for the following loop transfer functions: i. Gc(s)G(s
Hi @Jerome I believe that it is fair to ask for guidance on where you can find more information to solve problems by yourself. ...

2 years ago | 0

Answered
How to solve the error for graph?
There are missing characters. From your code, it should be 'DE_LU'. num_simulations = 10000; %Common parameters Discount_Ra...

2 years ago | 0

Load more