I have an array X=[100 200 300 400 500 600 700 800 900 1000]. But throughout my code the X value only equals 1000. I need to have the code use each X value in the array, but I'm not sure why it isn't cycling through X one at a time. Can anyone help with this?