getxxnorm: Normalize a vector of samples.

Description Usage Arguments Value

Description

Normalize a vector of samples. X and Y will be normalized so that the first point is (0,0) and the last point is (1,1). Vector x are the input x values, must be in ascending order.

Usage

1
getxxnorm(x, y)

Arguments

x

[REAL(N)] input x-axis array (should be in "chronological" order)

y

[REAL(N)] input y-axis array

Value

Output is a list with: anormx, the normalization value used to make the last x == 1. anormy, the normalization value used to make the last y == 1. xx,yy vectors of x,y values interpolated to be the same length as x0.


boshek/limnotools documentation built on May 13, 2019, 12:36 a.m.