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

6 mesi fa | 1

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

6 mesi fa | 1

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

6 mesi fa | 0

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

7 mesi fa | 0

Risposto
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)

7 mesi fa | 1

| accettato

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

7 mesi fa | 0

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

7 mesi fa | 0

| accettato

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

7 mesi fa | 0

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

7 mesi fa | 1

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

7 mesi fa | 0

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

7 mesi fa | 0

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

7 mesi fa | 1

| accettato

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

7 mesi fa | 0

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

7 mesi fa | 0

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

7 mesi fa | 1

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

7 mesi fa | 0

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

8 mesi fa | 0

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

8 mesi fa | 2

| accettato

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

8 mesi fa | 0

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

8 mesi fa | 1

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

8 mesi fa | 0

Risposto
Please help to identify this Simscape component
Since the block is connected to the scope with the label 'Output Current', it is certainly related to the measurement of the cur...

8 mesi fa | 1

Risposto
Rotary Inverted Pendulum State Space Model PID Cascade Control
Hi @Davide If you examine the transfer function from control input to θ, you will observe that it is a 4th-order function, wit...

8 mesi fa | 1

| accettato

Risposto
Can I use "place" function to adaptively update controller gain K when running model in Simulink?
Hi @Quang Manh If the place() function is not supported for code generation, you will need to program the computation manually....

8 mesi fa | 0

Risposto
What are the signs that my parameter estimator is on the right track before convergence?
Hi @YASSER In MATLAB, a 'NaN' result is primarily produced when there are indeterminate operations, such as Inf/Inf or 0/0. A s...

8 mesi fa | 0

Risposto
Understanding continuous integrator blocks in Simulink
Hi @C I don't what is the mathematical 'C' function in your differential equation. If the derivative function is unavailable, b...

8 mesi fa | 1

Risposto
Problem with ramp change in waveforms
You can force the signal to 'jump' instantly at the point of discontinuity by using the sign function.

8 mesi fa | 0

Risposto
I am trying to incorporate multiple IF statements in my ODE to generate a single output.
Hi @Christopher Based on your definitions of the four cases in this comment and @Walter Roberson's input, we can run the simula...

8 mesi fa | 1

| accettato

Risposto
I haven't defined syms x but solve function gives me values depend on x
Hi @Cahit Semih Do you have any updates regarding your optimization efforts? The following solution is derived from your eigen...

8 mesi fa | 0

Risposto
how to repeat a code until a certain input has been recieved
Hi @zach Here is a simple example estimate the value of using the while loop to infinitely repeat the execution of instruction...

8 mesi fa | 0

| accettato

Carica altro