PS Product

Multiply two physical signal inputs

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

Description

The PS Product block outputs the element-wise product of two input physical signals:

O=I1.*I2

where

I1Physical signal at the first input port
I2Physical signal at the second input port
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 to be added.

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

Second input physical signal to be added.

The port name is not visible in the block icon, but you can see this name in the underlying source file (accessible by clicking the Source code link in 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 (accessible by clicking the Source code link in the block dialog box).

Compatibility Considerations

expand all

Behavior changed in R2019a

Extended Capabilities

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

Introduced in R2007a