Answered
I need Matlab for theoretical physics course/research projects. I am uncertain about which products/toolboxes to get.
Hi @Ansh If you need to analyze theoretical and experimental data with uncertainties in measurements and to model complex physi...

6 months ago | 1

Answered
how do I calculate "to raise to the power of" in a matlab fuction in simulink when the exponent is not an integer?
Hi @Carlos Thanks for the update. Which specific method did you use? Was it ? Regardless of the method employed, you should be ...

6 months ago | 1

| accepted

Answered
how to use Transfer Fcn
Hi @饕餮王 (Mr. Taotie) I do not intend to provide an in-depth tutorial on the topic of Integral Transform. The variable is a com...

6 months ago | 1

| accepted

Answered
How to iteratively solve when equations are dependent on each other.
Hi @John You can specify the range so that 'vpasolve' searches the solution in that region. load('Sigma_ysrtM.mat') load('T_o...

6 months ago | 1

| accepted

Answered
having error while running fuzzy controller and fuzzy set of matlab 2017 in matlab 2023?
All five membership functions of Input 2 are defined in the range [-1, 1]. However, when Input 2 has a value of -1.77138 that is...

7 months ago | 0

Answered
No logro estabilizar mi sistema por PID
Hi @Bethsy Sheyla For learning purposes, I am providing a demo below to illustrate that an ideal Proportional-Derivative (PD) c...

7 months ago | 0

Answered
How to Control Simulink from Matlab during Simulation
Hi @DJ V I am unable to address all questions in a single post, as some require knowledge of aerospace engineering. However, to...

7 months ago | 0

Answered
How to get started on autopilot modeling and simulation?
Hi @Botond The modeling of fixed-wing UAVs and wind gusts is generally covered in Aerospace Engineering. In Mechatronics, you w...

7 months ago | 0

Answered
What causes the SMC controller to be unable to track the desired position, leading to an excessively significant error between the desired and real positions?
Hi @Alfa I did not examine your Simulink model, as it requires technical knowledge of quadcopter dynamics. Assuming that your q...

7 months ago | 1

| accepted

Answered
How can I plot an impulse (sech(x)) consisting of 2002 points, where last 1001 point are zeros?
Hi @Anna_P @Mathieu NOE indeed has a point. My proposed approach does not give an absolute zero. If you require absolute zero f...

8 months ago | 1

Answered
How can I plot an impulse (sech(x)) consisting of 2002 points, where last 1001 point are zeros?
Hi @Anna Mathieu has shown you how to do that in MATLAB. This is the standard approach in MATLAB computing. However, if you are...

8 months ago | 1

Answered
Is there any specific clinical data classification only using triangular membership function available?
Hi @BHARATHIRAJA This response comes a decade late. Nonetheless, I hope this demo helps others understand how to fuzzify clinic...

8 months ago | 0

Answered
Guideline for implementing PID and saturation
Hi @Jo I revisited your Lur'e system and designed a combined PID controller with a lead compensator in Simulink to regulate the...

8 months ago | 0

Answered
how to use interp1() function with half data
Hi @li, If you double the data, it works. x=half(0:5) y=x.^2 interp1(double(x), double(y), 5)

8 months ago | 1

| accepted

Answered
Guideline for implementing PID and saturation
Hi @Jo This system is somewhat difficult to control. I have not explored how you successfully track the setpoint using a gain-s...

8 months ago | 0

Answered
I'm trying to create a centrifuge compressor in simulink for surge study.
Hi @aziz I suggest that you run the simulation of the compressor equation in MATLAB. If it works in MATLAB, it is generally eas...

8 months ago | 0

| accepted

Answered
Bir robot itfaiye simulasyonu yapmak istiyorum nasıl yapabilirim/I want to make a robot firefighter simulation, how can I do it?
Hi @Kerem This is likely the simplest simulation of the fire engine's motion (represented as a particle) that I can guide you t...

8 months ago | 0

Answered
Voltage and current waveform
Hi @Jyotiprakash A complete tutorial on this Electric Circuits in the Answer is impossible. It is advisable to read a standard ...

8 months ago | 1

Answered
Bir robot itfaiye simulasyonu yapmak istiyorum nasıl yapabilirim/I want to make a robot firefighter simulation, how can I do it?
Hi @Kerem To run the simulation effectively, you need the math to describe the following components: The environment. The dyn...

8 months ago | 0

Answered
Analyzing and developing PID control for a 5th order system
Hi @Niel I am not an expert in motor hardware, so I cannot explain how the 5h-order transfer function is derived. Most mechanic...

8 months ago | 0

Answered
Analyzing and developing PID control for a 5th order system
Hi @Niel The characteristic polynomial of the 5th-order plant has zero coefficients for the terms , , and . The configuration o...

8 months ago | 1

| accepted

Answered
QFT ( Quantitative Feedback Theory) Controller
Hi @osama If you are referring to the original QFT Toolbox developed by Craig Borghesani, the founder of Terasoft, and previous...

8 months ago | 0

Answered
How can I place a linear regression line (line of best fit) through both plots in this code, but only from the halfway point to the end?
Hi @ryan In purely math terms, do you mean to find the tangent line at the midpoint of the decaying beta curve? If so, I used m...

8 months ago | 0

Answered
How to design the MPC controller based on the plant model. I want to use it for the adaptive control for motor control. How it will react?
Hi @Ancy Princia There are numerous codes available in the documentation of the Model Predictive Control Toolbox. You should fi...

8 months ago | 1

Answered
S curve ramp function
Hi @David Cole In addition to your user inputs (Vin, accel, and jerk), you also need to provide the "Jerk On" time. You can u...

8 months ago | 0

Answered
S curve ramp function
This might not be what PLC users like to do. %% 99% Math-free Jerk-based Velocity % parameter c = 1e-3; ...

9 months ago | 0

Answered
Break in and break away points on Root Locus
Hi @Niel Previously in this post, it was shown that we must at least place a compensating pole at the origin so that the root l...

9 months ago | 2

| accepted

Answered
Break in and break away points on Root Locus
Hi @Niel The reason is simply that the locus never intersects the 0.59 damping ratio grid line, regardless of how the feedback ...

9 months ago | 0

Answered
I want to build a double pendulum system in Simulink but am getting errors relating to the tolerance and step size
Hi @Jishnu After reviewing the block diagram, if you feed the signals ​ and (before the integrators) back into their respectiv...

9 months ago | 1

Answered
Constraints to a Second Order Curve Fit
This is merely a workaround that involves manually forcing the sign of the leading coefficient to be smallest positive. It does ...

9 months ago | 0

Load more