Skip to main content

ss_step

Function ss_step 

Source
pub fn ss_step(
    model: &StateSpaceModel,
    state: &[f64],
    input: &[f64],
    dt: f64,
) -> Vec<f64>
Expand description

Advance state by one Euler step: x_{k+1} = x_k + dt*(Ax_k + Bu_k).