Hello, how can i set null for first n terms in mavg? For example,
a: til 10
3 mavg a gets:
0 0.5 1 2 3…
How can I set null for the first 2 terms?
i.e. I want to get:
0n 0n 1 2 3…
Hello, how can i set null for first n terms in mavg? For example,
a: til 10
3 mavg a gets:
0 0.5 1 2 3…
How can I set null for the first 2 terms?
i.e. I want to get:
0n 0n 1 2 3…
To set value in a list, we can use @
n:2
@[3 mavg a;til n;:;0n]
0n 0n 1 2 3 4 5 6 7 8
q)