Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. (TextReader reader = File.OpenText("bina.txt")) {
  2. var lineCount1 = File.ReadLines("bina.txt").Count();
  3. x1 = new complex[lineCount1, 512];
  4.  
  5. for (int i = 0; i < lineCount1; i++) {
  6. string line = reader.ReadLine();
  7. string[] bits = line.Split(' ');
  8.  
  9. for (int j = 0; j < 11; j++) {
  10. x1[i, j] = (x1[j].ToString(bits[j]);
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement