1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Attempted to access data1(:,1); index out of bounds because size(data1)=[0,0].

  1. Nov 10, 2012 #1
    I am running a code in matlab process 8 columns and over 500 rows of data but i get the above error.
    With 6 columns, the code works well. Your help is important.
  2. jcsd
  3. Nov 10, 2012 #2
    It sounds like its not understanding your data since it says the size is [0,0] when it should be [500,8]. Could you attach the code?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook