MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guida Utente Pagina 322

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 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
Vedere la pagina 321
1 2 ... 317 318 319 320 321 322 323 324 325 326 327 ... 353 354

Commenti su questo manuale

Nessun commento