keeganscurlyperm
Mechanical
- Feb 14, 2007
- 1
Hello
I have a set of data which I download as a two column data array into MathCad 2001i and typically 1000 rows. The data is the change in mass as a function of time (x)
I would like to complete a running calculation of the slope of my data using around five data points at a time i.e. start at i:=0 to i:=5, calculate slope from data points in that range of data and then start at i:=1 to i:=6 etc until the full 1000 data points have been analysed.
Would anyone know the best method of doing this in MathCad? I have been playing around with the programming part of MathCad (while and if loops) but am not sure if there is a simpler method
Many thanks
I have a set of data which I download as a two column data array into MathCad 2001i and typically 1000 rows. The data is the change in mass as a function of time (x)
I would like to complete a running calculation of the slope of my data using around five data points at a time i.e. start at i:=0 to i:=5, calculate slope from data points in that range of data and then start at i:=1 to i:=6 etc until the full 1000 data points have been analysed.
Would anyone know the best method of doing this in MathCad? I have been playing around with the programming part of MathCad (while and if loops) but am not sure if there is a simpler method
Many thanks