Complex vector multiplier block
This block realizes the complex vector multiplication.
It comes with four regular inputs that respectively are the first input complex vector (u1 is the real part and u2 the imaginary part) and the second complex input vector (u3 is the real part and u4 the imaginary part).
Let's define the complex multiplication with the formula :
where
is the output complex vector and
,
two inputs complex vector :
the n element of the output complex vector is then computed as follow :
- Size of inputs
Type 'vec' of size 1. The size of the regular inputs port..
- always active: no
- direct-feedthrough: yes
- zero-crossing: no
- mode: no
- regular inputs:
- port 1 : size [256,1] / type 1
- port 2 : size [256,1] / type 0
- port 3 : size [256,1] / type 0
- port 4 : size [256,1] / type 1
- regular outputs:
- port 1 : size [256,1] / type 1
- port 2 : size [256,1] / type 1
- number/sizes of activation inputs: 0
- number/sizes of activation outputs: 0
- continuous-time state: no
- discrete-time state: no
- object discrete-time state: no
- name of computational function: vectmultcmplx
- MODNUMCOS/macros/scicos_blocks/Tools/VECTMULTCMPLX_f.sci [view code]
- MODNUMCOS/routines/tools/vectmultcmplx.c (Type 4) [view code]
A. Layec