title: MATLAB READING FILE
body: <p>i am having trouble reading the file,
  basically, i want to somehow get rid of the unnecessary text and just print out a matrix involving only the numbers.</p>
  
  <p>1     1    -1     1     1    -1    -1     1     1     1    -1     1</p>
  
  <p>1    -1     1    -1    -1     1     1     1     1    -1     1     1</p>
  
  <p>sgfgdf</p>
  
  <p>1     1     1    -1     1    -1     1    -1    -1    -1    -1     1</p>
  
  <p>rtydsfdsfds</p>
  
  <p>1    -1     1    -1    -1    -1     1     1    -1    -1    -1     1</p>
  
  <p>1     1    -1     1     1    -1    -1    -1     1    -1     1    -1</p>
  
  <p>1    -1     1     1     1     1     1    -1    -1    -1     1    -1</p>
  
  <p>what i've tried so far is:</p>
  
  <p>d = fopen('transmission_data.txt')</p>
  
  <p>R = textscan(d, '%f %f', 'headerLines', 3:5) </p>
  
  <p>fclose(d)</p>
  
  <p>but this doesnt work, as i have to put only one number for the textscan, for example, '3', this would get rid of the first 3 lines, but i want to specifically get rid of the third and fifth.
  maybe there's some other way to read data?
  Help would be appreciated :)</p>
  
  <p>*note that there is an empty line between the first line of text and the second row of numbers</p>