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?
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Attempted access data1 Date
Distribution to model time between web page accesses May 23, 2014
Attempting to spin-cast parabola Feb 7, 2012