The SHF function returns the results of the input variables and coefficients evaluated as a sine wave in a simple harmonic function.
Format
Arguments definition
|
The input variable for the defined SHF function • Generally, this variable is time or a function that returns a real number. |
|
The starting point of the simple harmonic function |
|
The amplitude value for the sine wave of the variable This value must be a real number or a function that returns a real number |
|
The frequency of the simple harmonic function |
|
The phase shift value of the simple harmonic function |
|
The average frequency of the simple harmonic function |
Formulation
Example
SHF(time, 10D, PI,360D,0,3)
• x = time: Independent variable in the function
• x0 = 10D: Offset in the independent variable x
• a = PI: Amplitude of the harmonic function
• = 360D: The frequency of the harmonic function.
• =0: Phase shift in the harmonic function
• b = 3: Average displacement of the harmonic function.
Figure 1 Scope result using the SHF function