shapeSpectrum

This function will shape an input signal to the given spectrum (simple, unregulated spectral shaping)

Syntax ^

function [ y_shaped ] = shapeSpectrum( y, spectrum, freqs, fs )

Description ^

 This function will shape an input signal to the given spectrum (simple, unregulated spectral shaping)
 
 Syntax:    [ y_shaped ] = shapeSpectrum( y, fs, spectrum )
 
 Inputs: 
     y - Input signal in the time-domain which requires shaping.
     spectrum - A vector containing the magnitude spectrum to shape the
     signal with. ( length = fs/2 - 1 )
   freqs - A vector containing the corresponding frequencies for the
   spectrum vector.
 
 Outputs: 
     y_shaped - The input signal shaped to the given spectrum

Cross-Reference Information ^

This function calls: This function is called by:
Generated on Tue 05-Sep-2017 07:46:10 for Sound Zones