Expand description
Simple system response helpers.
The crate starts with a first-order step response model and a helper for sampling the response at fixed time intervals.
§Examples
use use_system_response::{first_order_response, sample_first_order_response};
let initial = first_order_response(0.0, 1.0, 1.0, 0.0).unwrap();
let samples = sample_first_order_response(0.0, 1.0, 1.0, 0.5, 2).unwrap();
assert_eq!(initial, 0.0);
assert_eq!(samples.len(), 3);
assert!(samples[1].value > samples[0].value);