MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
How to design the gain matrix for a set of desired closed loop poles?
Emmanuelabraham - 2020-11-23

For a traditional pole placement control strategy, I'd like to adjust gains k1 and k2 to get specific closed loop poles (eigenvalues). Is this possibl...

Why do AnalysisPoints change the results of systune optimization?
Timothy - 2020-11-23

I am wondering why additional analysis points change the outcome of the optimization with the systune command. The results are quite similar, but I wo...

How do I show which variable is being plotted while using hold?
Delilah - 2020-11-23

I've modeled a state space system and now want to plot how the state variables change in time. This is how I've set it up:       hx = phi_t * B hy ...

how to choose LQR?
Declan - 2020-11-23

i am trying to use LQR controller i simulate my system and have my A and B matrix ,, used theme in m-file and use the lqr function to control this sys...

How to Clear all Variables of a Workspace Except for Those Explicitly Excluded?
Travis - 2020-11-23

How do I clear all variables of a workspace except for those that I explicitly mention not to be cleared? In MATLAB...

How to estimate the inital state with an ssest output model?
Patrick - 2020-11-20

I am trying to linearize a model arround a certain operating point, the model is highly non linear so things like small angle approximation or Taylor-...

How to plot magnitude and phase spectrum of the function?
Emmanuel - 2020-11-20

Hye i really confuse on how much method to write the code to plot magnitude and phase. Below is my function. X(z)=z / (z-1)^2 Any idea how to start be...

I want to simulate with various input.
Timothy - 2020-11-20

sys = 1(1+s)   input = 1/s - exp(-2*s)/s   So, how can I get lsim output "sys*input" ?? I must make digital signal of input??...

Why do I get an incorrect step response plot from the Control System Designer?
Emmett - 2020-11-20

I am using the Control System Designer in MATLAB R2016b to plot the step response of my closed loop system. When I plot the step response of my transf...

Get a Free Consultation or a Sample Assignment Review!