Main Content

PS Divide

Compute element-wise division of two input physical signals

  • Library:
  • Simscape / Foundation Library / Physical Signals / Functions

  • PS Divide block

Description

The PS Divide block divides one physical signal input by another and outputs the quotient:

O=I1./I2

where

I1Physical signal at the first input port (marked with the x sign)
I2Physical signal at the second input port (marked with the ÷ sign)
OPhysical signal at the output port

The signal unit at the output port is determined by unit propagation rules. For more information, see Physical Signal Unit Propagation.

Ports

Input

expand all

First input physical signal, representing the numerator. In the block icon, this port is marked with the x sign.

The port name is not visible in the block icon, but you can see this name in the underlying source file by clicking the Source code link in the Description tab of the block dialog box.

Second input physical signal, representing the denominator. In the block icon, this port is marked with the ÷ sign.

The port name is not visible in the block icon, but you can see this name in the underlying source file by clicking the Source code link in the Description tab of the block dialog box.

Output

expand all

Output physical signal.

The port name is not visible in the block icon, but you can see this name in the underlying source file by clicking the Source code link in the Description tab of the block dialog box.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2007a

expand all