# Sam Chak

Followers: 0 Following: 0

**Statistics**

**MATLAB Answers**

**0** Questions

**1,573** Answers

RANK**49**

of 289,945

REPUTATION**3,880**

CONTRIBUTIONS

**0** Questions

**1,573** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**836**

RANK

of 19,611

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 144,330

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

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. %% Define ...

3 hours ago | 0

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

21 hours ago | 1

Curve fitting with multiple variables?

Hi @Liril Silvi, See if the polynomial surface function is acceptable tb = readtable('Book2.xlsx', 'VariableNamingRule','pres...

23 hours ago | 0

| accepted

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

1 day ago | 0

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

1 day ago | 0

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

1 day ago | 0

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

3 days ago | 0

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

3 days ago | 1

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

4 days ago | 0

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

5 days ago | 0

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

5 days ago | 0

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

5 days ago | 0

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

6 days ago | 0

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

7 days ago | 0

| accepted

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

8 days ago | 0

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

8 days ago | 0

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

8 days ago | 0

a nonlinear system and its control input in simulink

Hi @controlEE The control signal plotted in your comment is incorrect. Since you have completed the learning tasks and are capa...

10 days ago | 1

| accepted

I want to find two missing parameters in an ODE system of equations using regression/optimization in MATLAB

Hi @naiva saeedia I have prepared a simple demonstration below to illustrate that the fmincon optimization solver can be utiliz...

11 days ago | 0

integrate for long equation

Hi @GUILU You can DIVIDE the integrand and then CONQUER it. Once you've done that, you can validate the result by comparing it ...

13 days ago | 1

How do I solve the following Algebra equation?

Algebraically speaking, since there is no equal sign '', it is not an equation and there is technically nothing to solve in the ...

15 days ago | 0

Particle swarm algorithm in Fuzzy Logic Designer is breaking unity sum property of membership functions, how can I stop this?

Hi @Ben Hatrick I have rarely used PSO to tune fuzzy systems, and I hadn't realized this phenomenon until you brought it up. ...

16 days ago | 0

| accepted

hi how can i evaluate the function below from x=1,x=2 into a step of 0.1 y=x/(x2+1)

syms x y = eval('x/(x^2 + 1)') % <-- check if the function is correct xa = 1; % start point of [xa ≤ x ≤...

16 days ago | 0

How to expand this formula in Matlab/simulink

If the symbol is related to the complex variable as defined in the Laplace transform, then you can use the Transport Delay bloc...

16 days ago | 1

| accepted

Plotting a 3-value graph

Refer to the examples in yyaxis documentation. x = linspace(0,10); y = sin(3*x); yyaxis left plot(x,y) z = sin(3*x).*exp(...

17 days ago | 0

How can I define a block ( Transfer Fcn) in simulink?

Hi @M1A Linear time-invariant models with more zeros than poles are not supported in Simulink. However, you can create such a m...

18 days ago | 1

| accepted

how to add subscript into transfer function and constant block parameter

Hi @Olarewaju Update: In order to create a model block with a visually appealing display of mathematical notation, I personally...

18 days ago | 0

| accepted

I am running into trouble answering the question asked in the description.

Hi @Jackson, You have been provided with the MATLAB script 'Project2_Q1.m' to plot the solution curves for question Q1(a). To ...

18 days ago | 0

problem with matlab function in simulink (inpunt problem)

Hi @Alya Bostani Is this the expected result for ? Try fixing the code in the matlabFunction block. t = 0:0.01:10; P = as...

18 days ago | 0

a nonlinear system and its control input in simulink

Hi @controlEE Great job on your progress shown in the comment. Now, I'd like to share my piecewise function formula with you: ...

19 days ago | 1