Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Run the layout in Designer.

  2. Start a measurment using the module's inspector.

  3. Get the running layouts structure in Matlab:

    Code Block
    >> GSYS = get_gsys();

  4. Next read out the stimulus and response in Matlab command window:

    Code Block
    >> x = GSYS.SYS.MeasurementV21MeasurementV2_1.response;
    >> z = GSYS.SYS.MeasurementV21MeasurementV2_1.stimulus;

  5. Next compute the transfer function and plot it. For example, if you have the signal processing toolbox you can do:

    Code Block
    >>[tf, f] = tfestimate(z,x,[],[],[],48000);
    >> plot(f,abs(tf));shg

...