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...

29 days 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...

29 days 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 ...

29 days 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:...

29 days ago | 1

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...

29 days 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...

1 month 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...

1 month 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 ...

1 month 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...

1 month 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 ...

1 month 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...

1 month 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...

1 month 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...

1 month 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 ...

1 month 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...

1 month 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...

1 month 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...

1 month 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...

1 month 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...

1 month 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. ...

1 month 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...

1 month ago | 0

Answered
Non linear plant equation and design the PID controller
Hi @Jay Sutariya The motion dynamics of your Z-axis robot can be expressed through the following equation: Here, the combine...

1 month ago | 0

Answered
Conversion to double from pid2 is not possible-optimization app
Hi @Ihsan Ullah Khalil I ran your code using the ga() tool, and it produced a set of PID gains that enable the controller to tr...

1 month ago | 0

Answered
Second order ordinary differential equation
Hi @Abdul I believe that 'explicit solution not found' is more of a notification than an error message. Upon closer inspection,...

1 month ago | 0

Answered
Error in Error in 'HPW/HPW/VSC1 Control/Current Regulator/Fuzzy Logic Controller with Ruleviewer/Fuzzy Logic Controller': Failed to evaluate mask initialization commands. Ca
Hi @Anirudh Kumar You haven't provided the FIS file for testing. Nonetheless, I generated a dummy FIS file named 'ig.fis' and s...

1 month ago | 0

Answered
How to get the plot from ODE
Hi @Kartik Lanjewar, There are over 50 equations in the PDF, and the ODEs appear in various places. Most forum users don't hav...

1 month ago | 0

| accepted

Answered
Find the solution of the coupled system of equations
Hi @Arad If you set a specific value for the variable d00, the system of 6 nonlinear equations can be solved using the fsolve()...

1 month ago | 0

| accepted

Answered
Tuning a PID controller to desired Overshoot, settling time and rise time
Hi @Muhammad I'm revisiting a control problem we encountered a year ago. Previously, we utilized the systune() method to establ...

1 month ago | 0

Answered
Subplot with 2 stacked plots but bottom is split in 3 vertically
@HC98, Do you mean to plot them side-by-side horizontally? clearvars x = -10:0.01:10; y = cos(x); figure(1) subplot(2, 3...

1 month ago | 0

Answered
PID Tuning via Ziegler Nichols Method
Hi @Tom Regarding your original issue, you can improve the display of the waveform from the Simulink Scope by reducing the maxi...

1 month ago | 1

Load more