# computeWeightsRiseEqDiff

weighting function for an extended optimization horizon - `'riseEqDiff'`.

## Contents

- Syntax
- Description
- Input Arguments
- Output Arguments
- See Also
- References

## Syntax

w = computeWeightsRiseEqDiff(obj,M)

## Description

This function returns the values of the weighting function `'riseEqDiff'`.

## Input Arguments

obj | instance of enumeration class extendedHorizonWeights
M | extended optimization horizon (positive integer)

## Output Arguments

w | values of the weighting function (double array of dimension [M,1])

## See Also

`generatorSpaceControl`, `convexInterpolationControl` `polynomialControl`

## References

-

© 2018-2026 I6 Technische Universität München `•` Website `•` License