| Contents | Index |
Sources

The Sinusoid block models one or more modulated sine waves within the SimRF circuit-envelope simulation environment. For more information on simulating RF systems, see the example, Reduce Computations by Using RF Simulation Techniques.
The block implements the relation
![]()
or
![]()
to model either the voltage or current, as specified by the Source type, across the block at time t. The block defines the in-phase and quadrature components of the sinusoid, uk(t) = uk,i(t) + juk,q(t), according to the relations

where:
Di and Dq are DC offsets.
Ai and Aq are amplitudes.
ζ is a damping factor.
τ is a time delay.
mk is the specified modulation frequency at a given carrier frequency fk.

Specify the wave type as:
Ideal Voltage — The block simulates a voltage envelope v(t) at the specified Carrier frequencies.
Ideal Current — The block simulates a current envelope i(t) at the specified Carrier frequencies.
The default value of this parameter is Ideal Voltage.
Specify the in-phase offset, Di, as a scalar or vector. Specify the units of the offset from the corresponding drop-down list. The default value of this parameter is 0 V for a voltage signal or 0 A for a current signal.
Specify the quadrature offset, Dq, as a scalar or vector. Specify the units of the offset from the corresponding drop-down list. The default value of this parameter is 0 V for a voltage signal or 0 A for a current signal.
Specify the in-phase amplitude, Ai, as a scalar or vector. Specify the units of the offset from the corresponding drop-down list. The default value of this parameter is 0 V for a voltage signal or 0 A for a current signal.
Specify the quadrature amplitude, Aq, as a scalar or vector. Specify the units of the offset from the corresponding drop-down list. The default value of this parameter is 0 V for a voltage signal or 0 A for a current signal.
At each carrier fk specified by the Carrier frequencies parameter, specify the modulation frequency mk. Specify the units from the corresponding drop-down list. The default value of this parameter is 0 Hz.
Specify the time delay, τ, of the modulation as a scalar or vector. Specify the units from the corresponding drop-down list. The default value of this parameter is 0 s.
Specify the damping factor, ζ, of the modulation as a nonzero scalar or vector with nonzero elements. The default value of this parameter is 0 s-1, representing an undamped sinusoid.
Enter a vector of carrier frequencies whose elements are a subset of the frequencies specified in the SimRF Parameters block. Specify the units from the corresponding drop-down list. The default value of this parameter is 0 Hz.
Select this check box to internally ground and hide the negative terminals of the block. Clear the check box to expose the negative terminals, allowing you to connect them to other parts of your model. By default, this check box is selected.
In the Demos section, the demo Validating IP2/IP3 Using Complex Signals highlights the difference between sinusoidal SimRF and Simulink sources and shows how to use them in the same model.
The section Model an RF Mixer uses a Sinusoid block to model an AM waveform at the input port of a mixer.

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |