I have the following data
a= [1 1.1 1.2 1.3 1.4 1.5]
What I want to do is for each value of this data produce a series of points in increments with a spacing of 10%. Creating a new array:
b= [[0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0], [0 0.11 ... 1.1],.....]
The next thing that I want to do is is take each number from List 1 and determine the number of increments (20% spacing) from another value e.g. 2, to get another array:
c=[[1 1.2 1.4. 1.6 1.8 2.0], [1.1 ..... 2.0],......]
I then want to combine these arrays:
d =[[0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1 1.2 1.4. 1.6 1.8 2.0], [0 0.11 ... 2.0],.....]
List 1 is determined from an equation, but I want to do further calculations up to a certain point in this case a value of 2.
Would something arange work or some other way generating a sequence of numbers? Is this even possible?
x.1,x.2,x.3,x.4,x.6,x.7,x.8,x.9can't be represented exactly as floats.