回答済み
Fourier series question, in regards to integration and plotting finite sums
Hi @Thomas I also struggled with calculating the integrations (by hand) while learning Fourier series many years ago. A friend ...

20日 前 | 0

回答済み
How to determine the rates of inference for the fuzzy logic controller?
If the "rates of inference" refers to the speed at which the fuzzy controller processes input data, applies fuzzy rules, and pro...

20日 前 | 0

回答済み
"Index exceeds matrix dimensions" error when running Fuzzy Inference Engine
The error message likely arises from specifying the membership function parameters as a vector of length two, [0, 10]. However, ...

20日 前 | 0

回答済み
ctrb function returns NaN or inf when dealing with large systems
Hi @Corby Thank you and Paul for explaining why the ctrb() function fails for very high-order LTI systems when the spectral rad...

22日 前 | 0

| 採用済み

回答済み
fuzzy logic
Traditionally, trimf and gaussmf are the two most commonly used membership functions in fuzzy systems. However, if the centers o...

23日 前 | 0

回答済み
How can I utilize the Mamdani fuzzy controller to get better quality of step response for 2nd-order system?
Hi @乐乐 First, we examine the open-loop plant transfer function, . It is a 2nd-order system with an integrator and thus, the clo...

23日 前 | 1

| 採用済み

回答済み
How to extract high-quality image from MATLAB for my research article?
Is 600 dpi good enough? plot(t, x1, t, x2, t, x3) ax = gca; exportgraphics(ax, 'myPlot.png', 'Resolution', 600) Else if ...

24日 前 | 0

回答済み
how to deal with discontinuities in solutions to differential equations using ode45
Hi @Chris Hooper To answer your question posed in the title, when simulating systems using ode45() or any other numerical solve...

25日 前 | 2

回答済み
Delayed response of neuron to stimuli
The reason for the delayed response is most likely that the Hodgkin–Huxley neuron model consists of a set of nonlinear different...

25日 前 | 0

| 採用済み

回答済み
How to auto-tune PID parameters for isolated converters like a phase-shift full-bridge DC-DC converter?
Generally, you desire a 'smart' program that autotunes the PID controller without requiring the user to specify the desired perf...

26日 前 | 0

回答済み
Need help with error code
Most likely, your colleagues have this function program file stored in one of the folders on their computers. function [T, file...

26日 前 | 0

回答済み
Can anyone explain why I am getting an error here? This was a code given to my by my teacher for a project, but it will not work for me. It is for a linkage analysis.
Hi @Ben If the error message says that the inputs of atan2() must be real, then one or both of the inputs must be complex. What...

27日 前 | 1

回答済み
Fuzzy implementation on 2nd order transfer function
The Fuzzy Logic Toolbox still lacks examples demonstrating how to implement fuzzy PID controllers in MATLAB using ODE solvers. M...

29日 前 | 0

回答済み
How to implement fuzzy control for a thermal system in MATLAB
Hi @giorgos dimou I attempted to recreate the Mamdani fuzzy logic system. However, too many details were not provided. Conseque...

29日 前 | 0

回答済み
How can I exactly identify the range of outputs of FuzzyPID-controller?
Hi @乐乐 Hope that you're still around. First, you must understand that a PID controller alone cannot freely manipulate the ste...

約1ヶ月 前 | 2

| 採用済み

回答済み
bessel funtion drawing problem part two
The mathematical reason is that when m = 1:2, the computation of j.*cos(m*pi)-j_minus is effectively equal to zero—absolute zero...

約1ヶ月 前 | 0

回答済み
how can i solve this problem Undefined function or variable 'getPIDLoopResponse'
Hi @Adnan As mentioned by @Walter Roberson, you are likely using an older version of the Control System Toolbox before R2019a. ...

約1ヶ月 前 | 0

回答済み
PID tuning using a fuzzy logic controller
Hi @Gabriel I can provide you with an example involving a 1st-order plant, where a simple fuzzy P+I controller is designed. In ...

約1ヶ月 前 | 0

回答済み
PID tuning using a fuzzy logic controller
Hi @Gabriel You understand that certain combinations of PID gains stabilize the non-minimum phase plant, while other combinatio...

約1ヶ月 前 | 0

回答済み
Derivative of state in block is not finite, how to fix?
Hi @Jamie Mathematically, the issue is likely caused by the Sum block at the end of the feedback loop, where the squared veloci...

約1ヶ月 前 | 0

回答済み
How to model an inductor whose inductance value changes with RMS current passing through it?
Hi @Jay It took me an hour to extract the characteristic data from the datasheet image using PlotDigitizer, which is a free onl...

約1ヶ月 前 | 0

回答済み
I have this system of linear equations and i need to solve it for unknowns. how i can solve it in MATLAB? we have 8 unknowns and 8 equations.
I see, @javeria. So, you would like to learn how to solve a system of linear equations. You can refer to the example at the foll...

約1ヶ月 前 | 0

回答済み
How to model an inductor whose inductance value changes with RMS current passing through it?
Hi Jay, This is a modeling problem. Ideally, if the data points are sufficiently available, you can use the Curve Fitting to...

約1ヶ月 前 | 0

回答済み
Solver was unable to reduce the step size without violating the minimum step size value of 2.66454E-10 for 5 consecutive times
Hi @Juan José Good to hear that the custom smooth signal works. The masked subsystem is able to generate the trapezoidal pulse ...

約1ヶ月 前 | 0

| 採用済み

回答済み
how to simulate mpc controller?
Hi @Mikail, I did not 'beautify' the plot. But the following outlines how you can simulate the LQR-controlled system using the ...

約1ヶ月 前 | 0

| 採用済み

回答済み
Standard form of Transfer function.
Hi @Hamza Harbi This display of the transfer function is not referred to as the 'Standard form', or rather, it is known as the ...

約1ヶ月 前 | 0

| 採用済み

回答済み
Need help with troubleshooting and how can I fix these errors in my code?
Hi @Tiek Aun I am unfamiliar with the dynamics of the pyrolysis reactor; however, I can point out two mistakes in the code. Fi...

約1ヶ月 前 | 0

| 採用済み

回答済み
Algebraic Loop Error in Simulink Model with Enabled Subsystems – Performance Issue
Hi @Marco Your case sounds similar to the flip-flop. It creates a circular dependency between the output and input values of th...

約1ヶ月 前 | 0

回答済み
Sliding Mode Control (SMC) + PID Cascade Loop
Hi @Junaid I understand that the clamping force must be increased incrementally from 0 kN and must not exceed 6 kN. You aim to ...

約1ヶ月 前 | 0

回答済み
Implementing MRAC for Robotic arm of unknown link lengths
Hi @Sandy Based on your image, the MRAC block should replace the Sum and PID controller blocks. If the link length is unknown, ...

約1ヶ月 前 | 0

| 採用済み

さらに読み込む