Force Noise Source
R2026bModel zero-mean normally (Gaussian) distributed force
Libraries:
Simscape /
Driveline /
Sources
Description
The Force Noise Source block generates zero-mean normally (Gaussian) distributed force using the PS Random Number source in the Simscape™ Foundation library. The force produced by the block depends on two factors:
The noise power spectral density input to the block
A random number seed that you control using the Repeatability and, as applicable, Seed parameters
The defining equation for the force that the block generates is
where:
F is the output force.
PSD is the single-sided noise power spectral density.
N is a Gaussian random number with zero mean and standard deviation of one.
h is the sampling interval.
Ports
Input
Conserving
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"sdl_lib/Sources/Force Noise Source"
Example: add_block("sdl_lib/Sources/Force Noise Source","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.
Extended Capabilities
Version History
Introduced in R2016b
See Also
Simscape Blocks
- PS Random Number | Rotational Velocity Noise Source | Sinusoidal Force Source | Torque Noise Source | Translational Velocity Noise Source
