MATLAB BUILDER EX 1 Guida Utente Pagina 73

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 72
Spectral Analysis Example
4-21
Figure 4-17: VBA Project: Insert->Module
3 Enter the following code in the FourierMain module:
'
' FourierMain - Main module stores global state of controls
' and provides initialization code
'
Public theFourier As Fourier.Fourier 'Global instance of Fourier object
Public theFFTData As MWComplex 'Global instance of MWComplex to accept FFT
Public InputData As Range 'Input data range
Public Interval As Double 'Sampling interval
Public Frequency As Range 'Output frequency data range
Public PowerSpect As Range 'Output power spectral density range
Public bPlot As Boolean 'Holds the state of plot flag
Public theUtil As MWUtil 'Global instance of MWUtil object
Public bInitialized As Boolean 'Module-is-initialized flag
Vedere la pagina 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 181 182

Commenti su questo manuale

Nessun commento