is an option to StateSpaceModel etc. that specifies the sampling period.
SamplingPeriod
is an option to StateSpaceModel etc. that specifies the sampling period.
Details
- The default setting SamplingPeriod -> Automatic specifies continuous-time systems.
- SamplingPeriod->τ specifies a discrete-time system with sampling period τ.
Examples
open all close allBasic Examples (3)
A discrete-time transfer function with sampling period 1:
TransferFunctionModel[(1/z^2 - z + 1), z, SamplingPeriod -> 1]A discrete-time state-space model with sampling period τ:
StateSpaceModel[{{{0, 2}, {-0.5, -1.3}}, {{0}, {1}}, {{1, 1}}}, SamplingPeriod -> τ]% /. τ -> 1.2StateSpaceModel[{DiagonalMatrix[{-1, -2, -3}], {{1}, {-1}, {0}}, {{1, 1, 1}}}, SamplingPeriod -> None]Scope (4)
When no sampling period is given, a continuous-time system is assumed:
TransferFunctionModel[(s/s + a), s]TransferFunctionModel[(z/z - 1), z, SamplingPeriod -> 1]The sampling period can be symbolic:
ssd = StateSpaceModel[{{{a}}, {{b}}, {{c}}}, SamplingPeriod -> τ];ToContinuousTimeModel[ssd]Some functions accept objects as well as expressions with SamplingPeriod specified as an option:
{NicholsPlot[TransferFunctionModel[(z/z + 0.5), z, SamplingPeriod -> 1]], NicholsPlot[(z/z + 0.5), SamplingPeriod -> 1]}See Also
Related Guides
History
Text
Wolfram Research (2010), SamplingPeriod, Wolfram Language function, https://reference.wolfram.com/language/ref/SamplingPeriod.html.
CMS
Wolfram Language. 2010. "SamplingPeriod." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SamplingPeriod.html.
APA
Wolfram Language. (2010). SamplingPeriod. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SamplingPeriod.html
BibTeX
@misc{reference.wolfram_2026_samplingperiod, author="Wolfram Research", title="{SamplingPeriod}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/SamplingPeriod.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_samplingperiod, organization={Wolfram Research}, title={SamplingPeriod}, year={2010}, url={https://reference.wolfram.com/language/ref/SamplingPeriod.html}, note=[Accessed: 12-June-2026]}