RunMat
  • Pricing
RunMat
GitHub
GitHub
Sign inTry in browser
DesktopRuntimePhysicsCADAdministrationAgent

Get RunMat updates

New releases, guides and examples.

Product+
  • Runtime
  • GPU
  • Parallel
  • Compile
  • Interop and MEX
  • Simulation
  • MCAD
  • ECAD
  • Enterprise
  • AI integrations
  • Pricing
  • Download
Math+
  • Signal processing
  • Linear algebra
  • Statistics
  • Curve fitting
  • Differential equations
  • Control systems
  • Optimization
  • Finance
  • Data and tables
  • Plotting
Physics+
  • Simulation overview
  • Structural
  • Thermal
  • Electromagnetic
  • Joule heating
  • Thermal stress
  • Acoustics
  • Fluid flow
  • Conjugate heat transfer
  • Fluid–structure
  • What is FEA
Industries+
  • Aerospace
  • Automotive and transportation
  • Defense
  • Electronics and semiconductors
  • Energy
  • Industrial machinery
  • Life sciences
  • Quantitative finance
Learn+
  • Guides
  • Docs
  • Function reference
  • Language reference
  • Migration guide
  • Changelog
  • MATLAB Online
  • MATLAB AI agent
  • For students
Compare+
  • RunMat vs MATLAB
  • RunMat vs Ansys
  • RunMat vs SOLIDWORKS
  • RunMat vs Altium
  • RunMat vs Cadence
  • RunMat vs COMSOL
  • RunMat vs Python
  • RunMat vs Julia
  • RunMat vs Physics AI
  • RunMat vs Octave
  • Benchmarks
  • MATLAB alternatives
  • All comparisons
Company+
  • About
  • Blog
  • Contact
  • Source code↗
  • License
  • Privacy
  • Terms

Product

  • Runtime
  • GPU
  • Parallel
  • Compile
  • Interop and MEX
  • Simulation
  • MCAD
  • ECAD
  • Enterprise
  • AI integrations
  • Pricing
  • Download

Math

  • Signal processing
  • Linear algebra
  • Statistics
  • Curve fitting
  • Differential equations
  • Control systems
  • Optimization
  • Finance
  • Data and tables
  • Plotting

Physics

  • Simulation overview
  • Structural
  • Thermal
  • Electromagnetic
  • Joule heating
  • Thermal stress
  • Acoustics
  • Fluid flow
  • Conjugate heat transfer
  • Fluid–structure
  • What is FEA

Industries

  • Aerospace
  • Automotive and transportation
  • Defense
  • Electronics and semiconductors
  • Energy
  • Industrial machinery
  • Life sciences
  • Quantitative finance

Learn

  • Guides
  • Docs
  • Function reference
  • Language reference
  • Migration guide
  • Changelog
  • MATLAB Online
  • MATLAB AI agent
  • For students

Compare

  • RunMat vs MATLAB
  • RunMat vs Ansys
  • RunMat vs SOLIDWORKS
  • RunMat vs Altium
  • RunMat vs Cadence
  • RunMat vs COMSOL
  • RunMat vs Python
  • RunMat vs Julia
  • RunMat vs Physics AI
  • RunMat vs Octave
  • Benchmarks
  • MATLAB alternatives
  • All comparisons

Company

  • About
  • Blog
  • Contact
  • Source code↗
  • License
  • Privacy
  • Terms
GitHubXLinkedIn

© Dystr, Inc. · RunMat v0.7.1, Nov 17, 2026

RunMat® is a registered trademark of Dystr, Inc. MATLAB® is a registered trademark of The MathWorks, Inc. RunMat is not affiliated with, endorsed by, or sponsored by The MathWorks, Inc.

/
See all docs
Builtin Reference
    • ss
    • tf
    • tf.ldivide
    • tf.minus
    • tf.mldivide
    • tf.mpower
    • tf.mrdivide
    • tf.mtimes
    • tf.plus
    • tf.power
    • tf.rdivide
    • tf.times
    • tf.uminus
    • tf.uplus

tf.power — Raise a SISO tf model to an integer power with elementwise operator syntax.

Raise a SISO tf model to an integer power with elementwise operator syntax.

Syntax

sys = tf.power(sys, exponent)

Inputs

sys
Type
Any
Required
Yes
Default
—
Description
SISO tf model.
exponent
Type
IntegerScalar
Required
Yes
Default
—
Description
Finite integer-valued scalar within the signed 64-bit range.
NameTypeRequiredDefaultDescription
sysAnyYes—SISO tf model.
exponentIntegerScalarYes—Finite integer-valued scalar within the signed 64-bit range.

Returns

sys
Type
Any
Description
New SISO transfer-function model.
NameTypeDescription
sysAnyNew SISO transfer-function model.

Errors

RunMat:tf:InvalidArgument
When
An operand is neither a tf model nor an admissible scalar.
Message
tf: invalid argument
RunMat:tf:InvalidModel
When
A required tf receiver is not a tf model object.
Message
tf: invalid model
RunMat:tf:UnsupportedModel
When
The model class or property representation is unsupported.
Message
tf: unsupported model
IdentifierWhenMessage
RunMat:tf:InvalidArgumentAn operand is neither a tf model nor an admissible scalar.tf: invalid argument
RunMat:tf:InvalidModelA required tf receiver is not a tf model object.tf: invalid model
RunMat:tf:UnsupportedModelThe model class or property representation is unsupported.tf: unsupported model
RunMat:tf:InvalidCoefficientsA model has malformed, nonfinite, or nonvector coefficients.tf: invalid coefficients
RunMat:tf:DenominatorInvalidThe result or input model has a zero denominator.tf: invalid denominator coefficients
RunMat:tf:InvalidSampleTimeA model has invalid sample-time metadata.tf: invalid sample time
RunMat:tf:InvalidVariableA model has invalid polynomial-variable metadata.tf: invalid variable
RunMat:tf:UnsupportedDelayArithmetic involves nonzero input or output delay metadata.tf: delayed model arithmetic is unsupported
RunMat:tf:DivideByZeroDivision or a negative power uses a zero transfer function as divisor.tf: cannot divide by a zero transfer function
RunMat:tf:InvalidExponentPower exponent is nonintegral, nonfinite, or outside the signed 64-bit range.tf: invalid exponent
RunMat:tf:CoefficientCapacityA transfer-function power requires more polynomial coefficients than a host vector can represent.tf: power coefficient array exceeds host capacity
RunMat:tf:InternalA result object or coefficient array cannot be constructed.tf: internal error

SISO model arithmetic

These identities are tf class operator methods, reached through ordinary MATLAB-syntax operators on tf objects. They are not standalone top-level functions. A binary operation accepts another SISO tf model or a scalar gain; both model operands must have matching sample times and polynomial variables. Elementwise and matrix spellings share the same SISO operation in this implementation.

Results are new host tf values. Polynomial coefficient arrays remain double or complex-double, while sample time and variable metadata come from the input model. Nonzero input/output delay arithmetic, MIMO models, and incompatible sample times or variables are rejected.

Precision and execution

Typed integer scalar gains are a RunMat-mode extension. They convert to double for polynomial arithmetic, so wide integer gains can round; this differs from checked integer coefficients stored in a tf model. Typed-integer or logical coefficients and typed-integer Ts assigned after construction are gated again when a method admits the model, with exact conversion for integer model properties. Integer-valued power exponents are decoded exactly as signed 64-bit counts; zero returns a unity model and negative counts use a reciprocal. Coefficient arithmetic is host-side; resident scalar gains and model properties may gather through their owning provider. The method call can suspend and terminates numeric fusion.

Example

SISO transfer-function operator

g = tf(2,1); h = g .^ 3;

Using tf.power with coding agents

Open a RunMat example with live inputs, then ask the agent to explain how tf.power changes the result.

Run a small tf.power example, explain the result, then change one input and compare the output.

FAQ

Are these top-level functions?⌄

No. They are tf operator methods reached by MATLAB-syntax arithmetic on a tf model.

Are MIMO transfer functions supported?⌄

No. These methods currently operate on SISO transfer functions and scalar gains.

Related Control functions

Response

bode · evalfr · freqresp · impulse · nyquist · step

Analysis

care · ctrb · damp · db · dcgain · dlqr · feedback · isstable · lqr · minreal · pade · pole · pzmap · rlocus · stepinfo · zero

Models

series · ss2tf · tfdata

Control

ss · tf · tf.ldivide · tf.minus · tf.mldivide · tf.mpower · tf.mrdivide · tf.mtimes · tf.plus · tf.rdivide · tf.times · tf.uminus · tf.uplus

Source you can read

Every RunMat function's source is public. Read exactly how tf.power is executed, line by line, in Rust.

  • View the source for tf.power in Rust on GitHub
  • Learn how the RunMat runtime works
  • Found a bug? Open an issue with a minimal reproduction.

About RunMat

RunMat is a runtime that executes MATLAB-syntax code fast on any GPU. The runtime is free for individuals, including freelancers; students and faculty at an academic institution, for teaching or research there; contributors to an open-source project, for work on that project; organizations with 250 or fewer people and US$10M or less in annual revenue; and anyone, for non-production use. See runmat.com/license.

  • RunMat automatically optimizes your math for GPU execution on Apple, Nvidia, and AMD hardware. No code changes needed. Simulations that took hours now take minutes.
  • Start running code in seconds. RunMat runs in the browser, on the desktop, or from the CLI. No license server, no IT ticket.

Getting started · Benchmarks · Pricing

Download RunMat

Download RunMat for full performance, or use RunMat in your browser for zero setup.

Download RunMatOpen Sandbox
On this page
  • Syntax
  • Inputs
  • Returns
  • Errors
  • SISO model arithmetic
  • Precision and execution
  • Example
  • SISO transfer-function operator
  • Using tf.power with coding agents
  • FAQ
  • Related Control functions
  • Response
  • Analysis
  • Models
  • Control
  • Source you can read
  • About RunMat