modulateSignal(x,xn​odes,envFun,coeff,v​arargin)

modulateSignal provides a sinusoidal signal modulated by a generic piecewise or continuous function

You are now following this Submission

modulateSignal provides a sinusoidal signal modulated by a generic piecewise or continuous
envelope function assigned by the user. The frequency and the phase on the signal can also be assigned.
The main advantage is to create a signal inside a general envelope function without using any toolbox.
Furthermore, such a function can be seen as the opposite of the envelope function.
Exponential, harmonic and polynomial functions are supported to create envelope functions.
The signal produced will have zero mean. See the help for a more detailed description.

Cite As

Ennio Condoleo (2026). modulateSignal(x,xnodes,envFun,coeff,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/63775-modulatesignal-x-xnodes-envfun-coeff-varargin), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Help improved.

1.1.0.0

"contains" command replaced by "~isempty(strfind(...))" in order to make the code working on versions older than r2017a.

1.0.0.0