Time-Domain to Magnitude and Phase
by Marc Compere
14 Feb 2003
(Updated 18 Feb 2003)
Numerical inference of magnitude and phase information of streaming time domain input and output wav
|
Watch this File
|
| File Information |
| Description |
This s-function captures a sample of two (ideally oscillatory) signals and, using a FFT, computed the amplitude ratio and phase difference between the two signals during a simulation.
This is intended to provide a way to numerically generate nonlinear equivalents of Bode plots for either linear or nonlinear systems. By choosing a frequency of interest (e.g. an input frequency you select), you can compute the amplitude and phase of another signal, like the output of a nonlinear control system, with respect to the input. Bode plots are defined and available only for steady-state linear systems with transfer functions. This function allows you to numerically generate similar plots (after your system reaches dynamic steady state) for linerr or nonlinear systems. |
| Required Products |
Simulink
|
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 09 Feb 2005 |
Srikar Vulli
|
|
|
|
Contact us at files@mathworks.com