MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Betriebsanweisung Seite 322

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 354
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 321
void MakeComplex()
Purpose Convert real numeric array to complex
C++
Syntax
#include "mclcppclass. h"
double rdata[4] = {1.0, 2.0, 3.0, 4.0};
double idata[4] = {10.0, 20.0, 30.0, 40.0};
mwArray a(2, 2, mxDOUBLE_CLASS);
a.SetData(rdata, 4);
a.MakeComplex();
a.Imag().SetData(idata, 4);
Arguments None
Return
Value
None
Description Use this method to convert a numeric array that has been previously
allocated as
real to complex . If the underlying array is of a nonnumeric
type, an
mwException is thrown.
C-68
Seitenansicht 321
1 2 ... 317 318 319 320 321 322 323 324 325 326 327 ... 353 354

Kommentare zu diesen Handbüchern

Keine Kommentare