SignalUtils.LogRamp Method

procedure LogRamp(const RampVec: TVec; StartPower: Double; StopPower: Double);

Compute a logarithmic ramp.

#NameTypeDescription
1RampVecTVec
2StartPowerDoublescalar
3StopPowerDoublescalar

Result: stored in self (calling object)

Remarks:

Fills RampVec vector with (base 10) logarithmic scale values from StartPower to StopPower. The number of values returned is defined with RampVec.Length.

Examples
uses MtxExpr, Math387, MtxVec, SignalUtils, MtxVecTee, MtxVecEdit;

procedure TForm1.Button1Click(Sender: TObject);
var RampVec: Vector;
begin
    RampVec.Size(10);
    LogRamp(RampVec,-1,1);
    //       RampVec = [0.1     0.1668 0.2782 0.4641 0.7742
    //                  1.2915  2.1544 3.5938 5.9948     10]
    ViewValues(RampVec,'Logarithmic scale');
end;