All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
555 views

How to model state space for complex valued system correctly in SIMULINK (MATLAB)?

When trying to use the default state-space model block, if there is a complex number valued in the matrices, there will be an error To resolve that, firstly I need to look at pseudo reference model ...
2
votes
1answer
149 views

What is wrong with my residue partial expansion method? (Transfer Function into State-Space Modal/Diagonal Form)

I'm using reference from here and here. This is Laplace transfer function of DC Control Speed System: $$\frac{\omega(s)}{V(s)}=\frac{K}{(Js+b)(Ls+R)+K^2}$$ Where, $\omega$ is the motor angular ...
3
votes
1answer
236 views

State-Space Representation of Forward and Backward Filters

In [1], the author shows an efficient way of implementing the forward and backward filter using matrices. One can also implement this using filtfilt command in ...
1
vote
2answers
123 views

MATLAB: Implementing Least Squares Estimator for a Given Model

The formula to estimate $\mathbf{h}$ is then $$\hat{\mathbf{h}} = (X^T X)^{-1} X^T \vec{y}\tag{2}$$ I think this can be implemented in Matlab using ...
0
votes
2answers
134 views

Effect of sampling

I have this continuos-time system $$\dot{x}=Ax+Bu$$ where \begin{equation}A=\begin{bmatrix}0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \\ 0 & \phantom{0}2.8040 & -\phantom{0}5....
1
vote
2answers
2k views

Why is my discretized transfer function unstable when my discretized state-space model is stable?

I am working with a 30-state, 14-input linear model that is described by a state-space model: model_state_space = ss(A, B, C, D); The model is extremely slow (it ...
1
vote
0answers
62 views

Identifiability for Time Invariant State Space Models

Kevin Murphy's Kalman Filter toolbox (for Matlab) contains an example where it's the fact that the state space system in not identifiable causes problems. I include the example in it's entirety but ...
1
vote
0answers
77 views

Simulating a state space model

I want to simulate data from the following model: $\textbf{z}_k=\textbf{H}\textbf{x}_k+\textbf{v}_k$ $\textbf{v}_k \sim N(\textbf{0},\textbf{R})$ $\textbf{H}$ does not change over time $\textbf{x}$ ...
3
votes
0answers
2k views

Difference between state space and transfer function model response (in Simulink)

Why I get a different response from the same system (e.g. three phase inverter with LC filter) in state space form and in transfer function (Laplace) form when using the same PI controller values ($...