• Lab 1: (Solution)
    • Put buildopt.mm under the mcr area of your option tree.
    • If the tests for NEWRATE pass then parts A and B have been completed successfully.
    • For part C, the explain file should look like (changes are in red):
      NEWRATE - synchronously or asynchronously resamples an input file
      
      <IN>        A type 1000 file containing samples of the
                  input signal.  All data formats are accepted.
      <OUT>       Resampled data.  Output format will be complex if either
                  <IN> or <FILTER> is complex; otherwise,
                  the output format follows the input format.
      <RATE>      Desired new sample rate.
      <SYNC>      A type 1000 file with clock phase in cycles
                  of the new sample period. Abscissa registration
                  is assumed. The sync file may be wrapped or
                  unwrapped phase. If no sync file is specified,
                  a uniform sample rate is generated. Baud
                  synchronous resampling can be achieved by
                  filtering the baud frequency with the filter
                  phase expressed in cycles. This phase file is
                  multiplied by the number of samples per symbol to
                  create a sync file for this primitive. Format
                  may be real or double (F or D).
      <FILTER>    A type 2000 file with interpolation filter
                  coefficients. If no filter is specified,
                  an internal 28-tap filter is used. The filter
                  may be real or complex.
      
      Produces an output file with a new sample rate by interpolating
      input data at timed intervals equal to the reciprocal of the new sample
      rate. The sample times may be adjusted by fractions of a new sample period
      that are specified by an optional sync file.  A filter file specifies the
      interpolation coefficients.  A default 28-tap filter is used if the
      <FILTER> parameter is blank.  Output data is only calculated for
      times where there is sufficient input data for all taps of the
      interpolation filter.
      
      Switches:
        /TUNE=f    Shifts output frequency by f if output format is complex.
        /OFFSET=ff Shifts phase of output clock by fraction ff of output
                   period.