The purpose of X
is to be variable. So you should have said 9*x
, where x=0.2:0.1:1.5
(in Matlab syntax). Anyway, this may help you get started:
Dim listOfMultipliers As New List(Of Double)
For i = 0.2 To 1.5 Step 0.1
listOfMultipliers.Add(i)
Next
Dim multipliersArray() As Double = listOfMultipliers.ToArray()