Community Profile

photo

Sam Chak


Last seen: Today Active since 2020

Statistics

  • Thankful Level 1
  • Knowledgeable Level 5
  • Pro
  • 6 Month Streak
  • Revival Level 1
  • First Answer

View badges

Content Feed

View by

Answered
Disturbance Rejection with PID turner
Hi @Esin Derin For simplicity, you can do something straightforward and plot the time responses like this. Case 1a: , rad/s ...

1 día ago | 0

| accepted

Answered
Control System with Feedback Loop
Hi @Esin Derin It can be very frustrating when one is not familiar with the MATLAB coding + Loop, and pressurized to complete t...

1 día ago | 0

| accepted

Answered
I have three coupled differential equation and need help to solve them
Yes @Captain Rituraj Singh, The equations are rearranged. However, to simulate at , where division-by-zero occurs, I'm unable t...

1 día ago | 0

Answered
Two degree of freedom PID controller
Hi @Bahar Ebru It seems that you are not required to write MATLAB code to simulate this. More like running a simulation in Simu...

1 día ago | 0

Answered
PID Control Systems with Ziegler
Hi @Esin Derin Edit: For Q1, I'm unsure what a Kupfmuller model is. Please find out from your lab instructor. For Q2, The GO(s...

1 día ago | 0

Answered
Cascade control with PID
Hi @Bahar Ebru I don't know how to start reading the diagram with because it looks a little messy. Can you at least rearrange t...

1 día ago | 0

Answered
Transformation of state space model
Hi @Alireza Aghdaei System 1 System 2 If I understand your description correctly, the dynamics of the system does not cha...

2 días ago | 0

Answered
Finding Critical Value with Simulink
Hi @Esin Derin It's a bit confusing with all the manual switches around. You should also provide the closed-loop system for inv...

2 días ago | 1

| accepted

Answered
arbitrary point with the know slope to another line to specify point on that second line
Hi @Ceren Ecemsu Varan Since you are unable to provide additional info, perhaps you can do something like this: % Analysis x1...

2 días ago | 0

Answered
plot excel data in MATLAB
On the Home tab, in the Variable section, click Import Data. Then choose how you want the selected data to be loaded on the Work...

3 días ago | 0

Answered
How to do Feedback Loop on Simulink with different frequinces
Hi @Esin Derin First, you need to construct the frequency {0.1, 0.2, 0.4, 0.8, 1.6, ...} based on the following sequence that d...

3 días ago | 1

| accepted

Answered
How to use different dimensions for neural network?
@d https://www.mathworks.com/help/deeplearning/ref/network.train.html Documentation says that Network inputs must be specified...

3 días ago | 1

| accepted

Answered
transfer function with delay
Hi @massimiliano frasca One of the common ways is to use the Transport Delay block: You can find an example here to see wher...

3 días ago | 1

| accepted

Answered
Transfer function with transfer function numerator greater than denominator
@Nguyen BaoLong Not sure how to answer this. Evaluating from the mathematical perspective, you can probably understand the foll...

3 días ago | 0

Answered
How does genetic algorithm derive the best fitness and average fitness values for each generation?
Hi @Time N The output here in the "Output Argument", only gives basic information about the optimization process returned as a ...

3 días ago | 0

| accepted

Answered
How can simulate The system with Transfer function in ODE45?
Hi @Kaito Sato-kun Most likely the culprits come from this part up_num = [alpha 0]; and this part u_dash = C*integral(@(tau)...

3 días ago | 1

| accepted

Answered
How to tune this model with this PSO coding? Is there any mistake in this coding or do I need to add something?
Your code is quite long. By the way, you are using Rosenbrock function as your fitness function, not your NARX model. for i = 1...

4 días ago | 0

Answered
block diagram cooperative adaptive cruise control
Hi @massimiliano frasca Actually, I have trouble reading that conference article. If authors set to prevent jerk, why did they...

4 días ago | 1

| accepted

Answered
Experimental Design in Matlab
Hi @Valeria Gallo You can find some examples in the following links: Response Surface Designs Central composite design (CCD) ...

4 días ago | 0

Answered
How can I do SOH estimation?
Hi @ekagra gupta Yes, it can done in MATLAB. Refer to these articles for more info: Leveraging MATLAB-Simulink in Building Bat...

4 días ago | 0

Answered
Can someone please help me modify this ABC algorithm into matlab code?
Hi @Kohani Mohan Instead of modifying your code, why not consider the available codes in File Exchange? https://www.mathworks....

4 días ago | 0

Answered
Truss Systems Nornal Equation
Hi @Doga Ersuz From the MATLAB point of view, the lines in section marked by the single red right square bracket are all "COMME...

4 días ago | 0

Answered
What is difference between fit and fitlm function in MATLAB?
@Meghraj Kc You read about the differences between fit and fitlm here: https://www.mathworks.com/help/stats/lime.fit.html htt...

4 días ago | 0

Answered
Designing a solar wind hybrid power system and control it with ANFIS
Hi @Tanvir Ibn Touhid Technically answering this question probably requires writing a few chapters of a typical 200-page book. ...

4 días ago | 0

Answered
¿Qué librería puedo instalar para trabajar con atmosfera estándar?
Hi @Mauro Gonzalez There are various standards like the following: U.S. Standard Atmosphere, atmoscoesa International Standar...

4 días ago | 0

Answered
How to run exp in bisection method
Hi @Nadiah This fzero algorithm uses a combination of bisection and secant methods. Very efficient! 👍 fcn = @(x) exp(x) - x....

5 días ago | 0

Answered
2x2 matrix calculation
Hi @dhlee Maybe you can solve the problem like this? syms x y Ta = sym('Ta', [2 2]); Tb = sym('Tb', [2 2]); Tc = sym('Tc'...

5 días ago | 0

| accepted

Answered
Hello everyone. How can I apply fuzzy decision making to my multi-objective optimization problem using matlab codes??
Hi @Amir Hosseini Can and start learning from the examples in the Fuzzy Logic Toolbox™ Intro.

5 días ago | 0

Answered
solve a forced vibration equation for x and w
Hi @Fatemeh Salar I guess you want solve the forced response vibration problem using the Modal Analysis approach. I'll skip the...

5 días ago | 0

| accepted

Answered
Help me to plot a graph
Maybe like this? x = linspace(0, 100, 501); y = 3000 + x*250; yyaxis left plot(x, y) ylim([0 4e4]) yyaxis right plot(x, 4...

5 días ago | 1

| accepted

Load more