Exp10 Icon
Mathematical.Exp10
Exp10A component that computes 10 raised to the power of the input signal.
Description
The Exp10 block computes 10 raised to the power of input u. The output y is defined as: y = 10 ^ u.
Variables
u(t): Input signal (exponent)y(t): Output signal (10 raised to the power of u)
Examples
- u = 0 → y = 1.0 (10^0 = 1)
- u = 1 → y = 10.0 (10^1 = 10)
- u = 2 → y = 100.0 (10^2 = 100)
- u = -2 → y = 0.01 (10^-2 = 1/100)
This component extends from BlockComponents.SISO
Usage
PrimitiveComponents.Mathematical.Exp10()
Connectors
u- This connector represents a real signal as an input to a component (RealInput)y- This connector represents a real signal as an output from a component (RealOutput)
Behavior
\[ \begin{align} y\left( t \right) &= 10^{u\left( t \right)} \end{align} \]
Source
"""
Exp10
A component that computes 10 raised to the power of the input signal.
# Description
The Exp10 block computes 10 raised to the power of input `u`.
The output `y` is defined as: y = 10 ^ u.
# Variables
- `u(t)`: Input signal (exponent)
- `y(t)`: Output signal (10 raised to the power of u)
# Examples
- u = 0 → y = 1.0 (10^0 = 1)
- u = 1 → y = 10.0 (10^1 = 10)
- u = 2 → y = 100.0 (10^2 = 100)
- u = -2 → y = 0.01 (10^-2 = 1/100)
"""
component Exp10
extends BlockComponents.SISO
relations
y = 10 ^ u
metadata {
"Dyad": {
"experiments": {},
"tests": {},
"labels": [
{
"label": "$(instance)",
"x": 500,
"y": 1100,
"rot": 0,
"layer": "icon",
"attrs": {}
}
],
"icons": {"default": "dyad://PrimitiveComponents/Exp10.svg"},
"path": {},
"doc": {"behavior": true}
}
}
end
Flattened Source
"""
Exp10
A component that computes 10 raised to the power of the input signal.
# Description
The Exp10 block computes 10 raised to the power of input `u`.
The output `y` is defined as: y = 10 ^ u.
# Variables
- `u(t)`: Input signal (exponent)
- `y(t)`: Output signal (10 raised to the power of u)
# Examples
- u = 0 → y = 1.0 (10^0 = 1)
- u = 1 → y = 10.0 (10^1 = 10)
- u = 2 → y = 100.0 (10^2 = 100)
- u = -2 → y = 0.01 (10^-2 = 1/100)
"""
component Exp10
"Input signal port"
u = RealInput() {
"Dyad": {
"placement": {
"icon": {"iconName": "input", "x1": -100, "y1": 450, "x2": 0, "y2": 550, "rot": 0},
"diagram": {"iconName": "input", "x1": -100, "y1": 450, "x2": 0, "y2": 550, "rot": 0}
}
}
}
"Output signal port"
y = RealOutput() {
"Dyad": {
"placement": {
"icon": {"iconName": "output", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0},
"diagram": {"iconName": "output", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
}
}
}
relations
y = 10 ^ u
metadata {
"Dyad": {
"labels": [
{
"label": "$(instance)",
"x": 500,
"y": 1100,
"rot": 0,
"layer": "icon",
"attrs": {}
}
],
"experiments": {},
"tests": {},
"icons": {"default": "dyad://PrimitiveComponents/Exp10.svg"},
"path": {},
"doc": {"behavior": true}
}
}
endTest Cases
No test cases defined.
Related
- Examples
- Experiments
- Analyses