Community Profile

photo

Sam Chak


Last seen: Today Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • 24 Month Streak
  • Guiding Light
  • Knowledgeable Level 5
  • Revival Level 1
  • First Answer

View badges

Feeds

View by

Answered
How can I generate in Simulink a block that has time delay in only one coefficient on the numerator of the transfer function?
Hi @EVANGELOS I am of the opinion that your approach is effective because it yields the same result as in MATLAB. G1 = tf([1 ...

16 hours ago | 0

Answered
I am trying to solve the system of two linear differential equations and create a phase diagram to asses the stability of the system.
Hi @Chris Herdelin If you are referring to the phase diagram as the 2-D phase plane plot, you can use a special output function...

19 hours ago | 0

Answered
Problem with pidtune function
Hi @Collin Lightfoot According to the documentation, if the tuning algorithm can achieve satisfactory performance and robustnes...

1 day ago | 0

Answered
i am trying to find the lqr controller system Transfer function, but getting error as "Arrays have incompatible sizes for this operation."
Hi @Senthilnathan A If fast-rising spike and the overshoot are undesired and you would like to eliminate it, I suggest adding a...

1 day ago | 0

Answered
i am trying to find the lqr controller system Transfer function, but getting error as "Arrays have incompatible sizes for this operation."
Hi @Senthilnathan A I have marked the lines that require fixing. The step response characteristics have also been displayed. Th...

1 day ago | 0

Answered
How to visualise feedback function?
Hi @Rubayet This is how you can use the 'feedback()' function to obtain the closed-loop system. You can compare the two approac...

2 days ago | 0

Answered
How to manually simulate linear system without lsim
Hi @Valeriy Other than lsim, you have two options for solving the differential equations: you can use the built-in ODE solver o...

3 days ago | 1

Answered
Why does my plot line appear outside the axes?
Because the xlim() command is used on the right y-axis plot. x = [0 1 2 3 4]; yl = [0 1 2 4 3]; yr = [0 2 3 1 2]; yyaxis le...

4 days ago | 0

Answered
Why is my 3D Projectile Trajectory not being calculated properly?
Hi @Abeljohn Taking a mathematical physicist's perspective into consideration, I would recommend focusing on correcting the cod...

4 days ago | 0

Answered
Index exceeds the number of array elements. Index must not exceed 3. HELP
Hi @Elizabeth Pickford Few places require fixes. Check out the annotated lines. S0 = 99; I0 = 1; R0 = 0; N0 ...

4 days ago | 2

Answered
Error while multiplying 2 SISO transfer functions.
load('dataC1C2.mat') Hi @Bogdan -Ervin While I haven't been able to pinpoint the exact root cause of the issue, I can suggest ...

5 days ago | 1

| accepted

Answered
I have 2 graphs , on the Y axis I have Acceleration in graph. 1 and Speed in graph 2. And on the X axis for both I have Period (Seconds). How can I create a third chart?
How about this? figure(3) % create a 3rd graph plot(displacement, acceleration) % make the plot

5 days ago | 0

Answered
How do I write time dependent variables in my equations of motion?
Hi @Jessica The analytical solutions and results presented in @Torsten's post are indeed accurate. Given that the system is lin...

5 days ago | 0

Answered
Phase plane plot second order ODE
Looks correct! No issue because I checked with the built-in @odephas2 function to generate the 2-D phase plane plot. Edit: Upon...

6 days ago | 0

| accepted

Answered
How can I write a set of first order ODEs with two variables?
Hi @Lily I made some edits to enhance the annotations. Essentially, the idea is to represent the dynamic system in state-space ...

7 days ago | 1

Answered
Curve fitting with multiple variables?
Hi @Liril Silvi, See if the polynomial surface function is acceptable tb = readtable('Book2.xlsx', 'VariableNamingRule','pres...

7 days ago | 0

| accepted

Answered
how to save only the final output of ode 45 solve
Hi @SOUVIK DARIPA I created a dummy model to test the for-loop code. Though you didn't annotate the code properly, I believe t...

7 days ago | 0

Answered
How to write this block diagram into Matlab in feed forward control form.
Hi @Jake I have successfully utilized the 'feedback()' function to obtain the same modeling result for as presented in my prev...

7 days ago | 0

Answered
How to write this block diagram into Matlab in feed forward control form.
Hi @Jake Around two months ago, you had a similar problem, but we didn't receive any feedback from you regarding whether the pr...

7 days ago | 0

Answered
How can I simulate the MIMO section only?
While I'm not an expert in BPSK and QPSK, I haven't encountered any problems when running the script in the link you provided an...

9 days ago | 0

Answered
Dot product does not work for symbolic vectors
Probably it has something to do with how MATLAB interprets 'gamma1(t)' . syms t g y real syms alpha1(t) beta1(t) gamma1(t) s...

9 days ago | 1

Answered
Derivative of state '1' in block 'F16_Aircraft_MODEL/6DOF (Euler Angles)/p,q,r ' at time 0.0 is not finite. The simulation will be stopped.
The Error message "Division of ZERO" is clear. Most likely the input signal [V] to the Division block is zero. Please assign cho...

10 days ago | 0

Answered
Obtaining the proportional, derivative and integral gains from a specific settling time and overshoot inputted using a Simulink block diagram
Hi @Gallad Isse The systune tool might be a viable option for tuning the Controller to achieve the desired TuningGoal as closel...

10 days ago | 0

Answered
Find State Space Representation of Linearized non-linear System to find State Space Representation in Canonical form MATLAB
Hi @Jonathan Frutschy I have conducted a simulation of the motion for 600 masses using the ode45 solver. Please refer to the co...

10 days ago | 0

Answered
How can I improve my voltage controller?
Hi @Pablo In general, when designing a model-based controller in conventional simulation platforms, you gain complete control o...

11 days ago | 0

Answered
Similar results in type-1 and type-2 fuzzy logic controller applying in MIMO systems
Hi @F. Paul The reason for the similarity lies in the fact that the performance of the Type-2 fuzzy logic controller behaves ak...

12 days ago | 0

Answered
Find State Space Representation of Linearized non-linear System to find State Space Representation in Canonical form MATLAB
Hi @Jonathan Frutschy Given that no original MATLAB code for the nonlinear system is provided, I believe it would be more effic...

13 days ago | 0

| accepted

Answered
Ramp block having reset option
Hi @Andraz If you have a good understanding of the fundamental mathematics behind a line graph, then theoretically, you should ...

14 days ago | 0

Answered
need name of the block in simscape tools
Hi @Hamid Ullah It appears to be a Simscape block diagram. Simscape components cannot be connected directly to the Scope block....

14 days ago | 0

Answered
Trying to determine roots of this polynomial (Det)
k = [1750 -750 0; -750 1250 -500; 0 -500 500]; m = [75 0 0; 0 75 0; 0 0 50]; D = inv(m)*k; syms x I = [x,0,0;0,x,0;0...

14 days ago | 0

Load more