MATLAB Solutions & Expert Answers

Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.

MATLAB expert answering student questions
Showing page 70 of 208 Ask a Question
How can I get the 'y_hat' and 'u' prediction values
Jakobus Louw · Mar 14, 2022 · model , predictive , control , prediction , horizon

How can I get the 'y_hat' and 'u' prediction values from my Model Predictive Controller in Simulink in Model Predictive Control Toolbox 3.1.1 (R2009b)?   I have designed my MPC ob…

How can I solve the matrix Riccati differential equation within MATLAB?
lemon chen · Mar 14, 2022 · matrix , riccati , differential , equation , ode , Control Systems , Control System Toolbox , Con

The CARE function within the Control System Toolbox solves the matrix Riccati equation:   A'X + XA - XB'BX + Q = 0 I would like to solve the matrix Riccati differential equation: …

how to design LQR controller with time-variable parameters ?
shayan taherian · Mar 14, 2022 · lqr control design , Control Systems , Control System Toolbox , Control System Design and Tuning

hi, i am trying to design LQR controller for a system but one variable for matrix A is changing with time (it is a vector of 10001x1)so the error in matlab is matrix dimension and …

how to choose LQR
cmcm · Mar 11, 2022 · state-space , lqr , controller , Control Systems , Control System Toolbox , Control System Desig

hello everyone ,  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 system,,, is t…

Closed Loop system identification toolbox
hasan · Mar 11, 2022 · closed , Control Systems , System Identification Toolbox , Data Preparation , Data Preparation B

Hi all,   Is there any MATLAB Toolbox available for Closed Loop System Identification because MATLAB's current system identification toolkit is for identification of open loop sys…

How to decide dimension (using correlationDimension function)?
JaeSung Choi · Mar 11, 2022 · correlation dimension , dimension , phasespacereconstr... , Control Systems

I have some data y and I want to derive correlation dimension of this data.   So, I followed the example of correlation function as followings.   xdata = y(:); Np = 100; dim = ??…

Solve state space equation by ODE45
Babak · Mar 11, 2022 · ode45 , state space , differential equat... , control system , Control System Design and Tuning

Hello everybody. I am new to state space representation. please help me to solve this question.   I have state space equation for IM motor like this:   xdot=A.x+B.u --> and their…

error in ( imaqhwinfo ) command . any help ?
ahmad · Mar 7, 2022 · image processing , image capture

when i write command ( imaqhwinfo ) this error appears (Undefined function or variable 'imaqhwinfo'. ) knowing that I used matlab R2013b ,and this message not appears when i used m…

Get a Free Consultation or a Sample Assignment Review!