Continuous-to-discrete model calculator

Calculate zero-order-hold discrete A and zero-order-hold discrete B with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use zero-order-hold discrete A and zero-order-hold discrete B to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Continuous state matrix A
[[-1,1],[0,-2]]
Continuous input matrix B
[[1],[0]]
Sample interval (seconds)
0.1
Zero-order-hold discrete A (JSON)
[[0.904837418036,0.086106664958],[0,0.818730753078]]
Zero-order-hold discrete B (JSON)
[[0.095162581964],[0]]

Try another scenario

Continuous state matrix A
[[0,1],[0,-2]]
Continuous input matrix B
[[1],[0]]
Sample interval (seconds)
0.1
Zero-order-hold discrete A (JSON)
[[1,0.090634623461],[0,0.818730753078]]
Zero-order-hold discrete B (JSON)
[[0.1],[0]]
Calculation method

Calculation method

Zero-order-hold discrete A (JSON)

Zero-order hold via exponential of augmented block [[A,B],[0,0]]×sample time; works with singular A.

Zero-order-hold discrete B (JSON)

Zero-order hold via exponential of augmented block [[A,B],[0,0]]×sample time; works with singular A.

Symbols and units
a
Continuous state matrix A
b
Continuous input matrix B
c
Sample interval (seconds)

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • User-supplied measurements and assumptions; Zero-order hold via exponential of augmented block [[A,B],[0,0]]×sample time; works with singular A. Supported limits: Finite numeric values bounded to 1e9 magnitude; lists and tables contain 1–100 records unless a stricter bound is stated. Inputs use the units shown. Lists explicitly paired by a method must have matching lengths; independent polynomial coefficient vectors may differ. Respect stated physical, interpolation, policy and computational domain limits.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Further reading

Method reference ↗

Background reading; this does not imply endorsement or independent review of SumFizz.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.