generate a slope array
GenerateSlope(n, offset, slope)
posint, number of samples
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.
The k-th sample point is computed as k⁢m+α, where α is the value of offset and m 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.
The SignalProcessing[GenerateSlope] command is thread-safe as of Maple 17.
For more information on thread safety, see index/threadsafe.
A ≔ GenerateSlope⁡10,0,1
A ≔ 0.1.2.3.188.8.131.52.8.9.
c ≔ Array⁡1..10,'datatype'='float'8,'order'='C_order':
A ≔ GenerateSlope⁡10,1.3,−0.35,'container'=c
A ≔ 1.300000000000000.9500000000000000.6000000000000000.250000000000000−0.0999999999999999−0.450000000000000−0.800000000000000−1.15000000000000−1.50000000000000−1.85000000000000
The SignalProcessing[GenerateSlope] command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.