Robby wrote:
> I would want to convert 
>     t =: 3 5 7 10
>     m =: 131 132 131 130
> into a time series representation:
>     tt =: 3 4 5 6 7 8 9 10
>     tm =: 131 131 132 132 131 131 131 130

Will this do?

   tt =: ({: (] + i.@:>:@:-) {.) t
   tm =: m #~ #;.1 tt e. t 
    
I didn't test much.

-Dan

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to