Gradient is a vector of partial derivatives of the function .

 

Syntax

gradient(function(x))


 
Parameters

function        is a PSG function,

x        is a variable.

 

Mathematical Definition

Gradient of Function is defined as:

where is an argument of function .

 

Remarks

Gradient can be used only in Value.

 

Example

Calculation in Run-File Environment
Calculation in MATLAB Environment

 

See also

Increment