Main Content

Complex Division Using the Product of Elements Block

This example shows how to perform element-wise complex division using the Product of Elements block.

The top Product of Elements block collapses the matrix input to a scalar by taking successive inverses of the four elements:

  • y = ((((1/2+i)/3)/4-i)/5)

The bottom Product of Elements block collapses the matrix input to a vector by taking successive inverses along the second dimension:

  • y(1) = ((1/2+i)/3)

  • y(2) = ((1/4-i)/5)