9

When playing around with data in calc, I often want to generate a vector from an interval.

How can I easily create a vector from just a start point, end point & step value.

Something like 1 <RET> 10 <RET> 1 MAKE-VECTOR to give me [1,2,3,4,5,6,7,8,9,10]?

Squidly
  • 1,499
  • 14
  • 17

1 Answers1

12

v x 10 RET should do it. Uses calc-index.

abo-abo
  • 13,943
  • 1
  • 29
  • 43