help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help for inversing function.


From: Ben Abbott
Subject: Re: Help for inversing function.
Date: Tue, 17 Jan 2012 11:42:08 -0500

On Jan 17, 2012, at 11:36 AM, kleysonr wrote:

> Hi,
> 
> Does anyone could help me to do the inverse of the following steps:
> 
> data_diff = diff(data, 2);
> data_estac = log(data_diff+1589); 
> 
> I need to recover the original data vector.
> 
> Thanks in advance.
> 
> Kleyson Rios.

I haven't tested it, but the one-liner below should be within a constant of the 
original.

        cumsum (exp (data_estac) - 1589), 2)

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]