SignalProcessing
GenerateSlope
generate a slope array
Calling Sequence
Parameters
Options
Description
Thread Safety
Examples
Compatibility
GenerateSlope(n, offset, slope)
n
-
posint, number of samples
offset
realcons, offset
slope
realcons, slope
container : Array, predefined Array for holding results
The GenerateSlope(n, offset, slope) command generates n samples for a slope signal. The result is returned in an Array with datatype float[8].
The -th sample point is computed as , where is the value of offset and is the value of the slope argument.
If the container=C option is provided, then the results are put into C and C is returned. With this option, no additional memory is allocated to store the result. The container must be an Array of size n having datatype float[8].
The SignalProcessing[GenerateSlope] command is thread-safe as of Maple 17.
For more information on thread safety, see index/threadsafe.
Example 1
Example 2
Example 3
Example 4
The SignalProcessing[GenerateSlope] command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
See Also
GenerateTone
GenerateTriangle
SignalPlot
Download Help Document