time,n0v_soma,n1v_soma,n2v_soma,n3v_dend0,-70,-70,-66.5,-66.50.027,-69.9703,-69.9794,-66.4966,-66.49660.054,-69.9685,-69.9533,-66.4933,-66.49330.081,-69.9283,-69.9322,-66.49,-66.48990.108,-69.9588,-69.9385,-66.4866,-66.48660.135,-69.9422,-69.8965,-66.4833,-66.48330.162,-69.9058,-69.8943,-66.48,-66.480.189,-69.8465,-69.8618,-66.4767,-66.47660.216,-69.8505,-69.8258,-66.4734,-66.47330.243,-69.7855,-69.8011,-66.4701,-66.470.27,-69.7913,-69.7594,-66.4668,-66.46670.297,-69.7228,-69.7291,-66.4636,-66.46340.324,-69.6841,-69.7006,-66.4603,-66.46010.351,-69.6907,-69.7157,-66.4571,-66.45690.378,-69.6584,-69.7295,-66.4538,-66.45360.405,-69.5766,-69.7279,-66.4506,-66.45030.432,-69.5668,-69.6756,-66.4474,-66.4470.459,-69.5396,-69.6777,-66.4442,-66.44370.486,-69.511,-69.6717,-66.441,-66.44040.513,-69.4808,-69.6523,-66.4378,-66.43710.54,-69.4632,-69.6325,-66.4346,-66.43390.567,-69.4605,-69.6169,-66.4314,-66.43060.594,-69.4398,-69.6346,-66.4282,-66.42730.621,-69.4638,-69.6245,-66.4251,-66.4240.648,-69.4429,-69.5968,-66.4219,-66.42070.675,-69.4134,-69.5639,-66.4187,-66.41740.702,-69.3973,-69.5655,-66.4156,-66.41410.729,-69.3973,-69.5668,-66.4125,-66.41080.756,-69.3611,-69.6189,-66.4093,-66.4075
My file looks something like this. I want to read every 10th line of this and skip the header.
so
my array should look like this
C=[0.216,-69.8505,-69.8258,-66.4734,-66.4733;0.486,-69.511,-69.6717,-66.441,-66.4404;0.756,-69.3611,-69.6189,-66.4093,-66.4075];
and so on
Best Answer