National Instruments 320682C Manual de usuario Pagina 110

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 454
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 109
Chapter 3 Analysis Library
© National Instruments Corporation 3-9 LabWindows/CVI Standard Libraries
Return Value
status
integer Refer to error codes in
Table 3-2.
CxDiv
int status = CxDiv (double xReal, double xImaginary, double yReal, yImaginary,
double *outputReal, double *outputImaginary);
Purpose
Divides two complex numbers. The function obtains the resulting complex number by using the
following formulas.
zr = (xr*yr + xi*yi) / (yr
2
+ yi
2
)
zi = (xi*yr - xr*yi ) / (yr
2
+ yi
2
)
Parameters
Input
xReal
double-precision Real part of x.
xImaginary
double-precision Imaginary part of x.
yReal
double-precision Real part of y.
yImaginary
double-precision Imaginary part of y.
Output
outputReal
double-precision Real part of z.
outputImaginary
double-precision Imaginary part of z.
Return Value
status
integer Refer to error codes in
Table 3-2.
Vista de pagina 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 453 454

Comentarios a estos manuales

Sin comentarios