State-space models are models that use state variables to describe a system by a set of first-order differential or difference equations, rather than by one or more nth-order differential or difference equations. State variables x(t) can be reconstructed from the measured input-output data, but are not themselves measured during an experiment.
Questions tagged [state-space]
186 questions
0
votes
1 answer
Can state space matrix initial conditions be set by signals in simulink
I want to feed the initial conditions in state space matrix block in simulink by using signals "from-go to signal blocks". I m trying it with signal blocks but some errors pop up at the end and it says that the signal variables used as initial…

endthere
- 11
- 4
0
votes
1 answer
How can I extract from ssest matlab function the residues of a state space (e(t))?
A state-space model of a system with input vector u, output vector y, and disturbance e takes the following form in continuous time:
d (x(t)) / dt = Ax(t)+Ke(t)
y(t) = Cx(t)+e(t)
In the MATLAB function ssest I am able to extract the A,C and the K…

tTimoteof
- 1
- 2
0
votes
1 answer
Is it possible to set initial state to a simulink model to do simulations?
Consider that I have built an electrical circuit or any other system at Simulink and to do simulations, Simulink should work in the sense that it builds a state space model of the system, right? If that is the case, is it possible to set an initial…

gustavoreche
- 205
- 4
- 12
0
votes
1 answer
Error when solving symbolic system of ODEs using dsolve
I have been trying to use the command dsolve in Matlab to solve a set of ODEs, but I am getting these errors:
Error in dsolve>mupadDsolve (line 332)
T = feval(symengine,'symobj::dsolve',sys,x,options);
Error in dsolve (line 193)
sol =…

Taiwaninja
- 3
- 4
0
votes
3 answers
Address boundry error while using STL in C++
I was writing the program for finding a path through an defined matrix.
#include
#include
-
using namespace std;
class maze{
int inst[10][10];
int m,n,initr,initc,finalr,finalc;
public:
maze(int c){
if(c==1)…
0
votes
1 answer
Term for a Heuristic for 2 Arbitrary Nodes
Is there a term or expression for a heuristic function (as in pathfinding, state space, or combinatorial search) which can estimate the distance between any two nodes (goal or non-goal nodes)?
Furthermore, is there a term for such a function which…

A Frayed Knot
- 476
- 5
- 20
0
votes
1 answer
Matlab place function error
Interesting problem here. On our school's Windows server, Matlab can execute the place function in the following code perfectly well and return a 1x4 matrix assigned to variable K. However, the Linux servers, and Matlab on my personal computer…

michael_e
- 3
- 2
0
votes
1 answer
Pacman positions 120 how? AI course
I'm pursuing an Artificial Intelligence course online and I don't understand how the state space is calculated. In the following PDF on page 3 slide 2 it says that the possible pacman positions are:
12x10 = 120
Why is it so? And how did we get to…

anonn023432
- 2,940
- 6
- 31
- 63
0
votes
1 answer
JAGS Bayesian state-space modeling
I'm trying to use a state-space model to estimate population demographics (fecundity, survivorship, population growth, population size). We have 4 different age states.
# J0 = number of individuals 0-1
# surv1 = survivorship from 0-1
# J1 =…

PendaFisi
- 77
- 5
0
votes
1 answer
Error using Unobserved State Space- ucm() in R
I am using ucm() function of package rucm in R. I am trying to predict sales where units is dependent variable and month,day,temperature are independent variables. While running code I am getting following…

Arushi
- 251
- 7
- 15
0
votes
1 answer
Efficient way of running a multivariate linear state-space model across a large panel (Fama French)
I am attempting to estimate multivariate linear state space model across a panel of stocks. I have daily returns over 15 years and have aggerated them to monthly time series. As excepted, the issue that the entire process of MLE estimates takes a…

aatami11
- 1
- 2
0
votes
1 answer
Solving State Space Response with Variable A matrix
I am trying to verify my RK4 code and have a state space model to solve the same system. I have a 14 state system with initial conditions, but the conditions change with time (each iteration). I am trying to formulate A,B,C,D matrices and use sys…

user3814258
- 1
- 1
0
votes
1 answer
Transformation 2 input 2 output transfer function into state space model using MATLAB
I have 4 transfer function that are G11, G12, G21, and G22. And how do I convert this 4 transfer function into a state space model? The following are my codes, however, the results of state space model are different from the linearization using…

Ran
- 25
- 2
- 5
0
votes
3 answers
R Matrix Multiplication
I have a List, R=
[[1]]
[,1] [,2]
[1,] 100 0
[2,] 0 100
[[2]]
[,1] [,2]
[1,] 0.0006364031 0.2521204
[2,] 0.2521204236 99.9993643`
I'm suppose to do F %*% R
F
[1,] 1 -6.264917e-04
[2,] 1 1.575666e-04
As…

ShinjiOno
- 47
- 5
0
votes
1 answer
State-space in simulink with one scalar input
I am using state-space block along with a mux in simulink. I am having two inputs so after passing through mux block I get a row vector. As state-space block accepts one scalar input so when a row vector is given as an input it doesn't work. Any…

Shayan Ali
- 65
- 2
- 16